summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest6
1 files changed, 3 insertions, 3 deletions
diff --git a/test b/test
index 37e62d4..08a67d0 100755
--- a/test
+++ b/test
@@ -11,20 +11,20 @@ DISPLAY=:99 xdotool sleep 3
11win=$(DISPLAY=:99 xdotool search --sync --name "Installer") 11win=$(DISPLAY=:99 xdotool search --sync --name "Installer")
12# Click Next 12# Click Next
13DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png 13DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/1.png
14DISPLAY=:99 xdotool mousemove --window "$win" --sync 346 334 14DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 346 334
15DISPLAY=:99 xdotool sleep 1 15DISPLAY=:99 xdotool sleep 1
16DISPLAY=:99 xdotool click 1 16DISPLAY=:99 xdotool click 1
17DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png 17DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/2.png
18DISPLAY=:99 xdotool sleep 1 18DISPLAY=:99 xdotool sleep 1
19# Click agree to liscense 19# Click agree to liscense
20DISPLAY=:99 xdotool mousemove --window "$win" --sync 34 286 20DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 34 286
21DISPLAY=:99 xdotool sleep 1 21DISPLAY=:99 xdotool sleep 1
22DISPLAY=:99 xdotool click 1 22DISPLAY=:99 xdotool click 1
23DISPLAY=:99 xdotool sleep 1 23DISPLAY=:99 xdotool sleep 1
24DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png 24DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png
25# Click next 25# Click next
26DISPLAY=:99 xdotool sleep 1 26DISPLAY=:99 xdotool sleep 1
27DISPLAY=:99 xdotool mousemove --window "$win" --sync 350 337 27DISPLAY=:99 xdotool mousemove --window "$(DISPLAY=:99 xdotool search --sync --name "Installer")" --sync 350 337
28DISPLAY=:99 xdotool sleep 1 28DISPLAY=:99 xdotool sleep 1
29DISPLAY=:99 xdotool click 1 29DISPLAY=:99 xdotool click 1
30DISPLAY=:99 xdotool sleep 1 30DISPLAY=:99 xdotool sleep 1