summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest6
1 files changed, 3 insertions, 3 deletions
diff --git a/test b/test
index 5bf6081..496fc1e 100755
--- a/test
+++ b/test
@@ -8,16 +8,16 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i
8DISPLAY=:99 msiexec /i lua4win.msi & 8DISPLAY=:99 msiexec /i lua4win.msi &
9win=$(DISPLAY=:99 xdotool search --sync --name "Installer") 9win=$(DISPLAY=:99 xdotool search --sync --name "Installer")
10WIN="Lua4Win Installer 1.0 Setup" 10WIN="Lua4Win Installer 1.0 Setup"
11DISPLAY=:99 xdotool sleep 0.1 11DISPLAY=:99 xdotool sleep 1
12# Click agree to terms 12# Click agree to terms
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 180 285 14DISPLAY=:99 xdotool mousemove --window "$win" --sync 180 285
15DISPLAY=:99 xdotool sleep 0.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
18# Click Install 18# Click Install
19DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333 19DISPLAY=:99 xdotool mousemove --window "$win" --sync 333 333
20DISPLAY=:99 xdotool sleep 0.1 20DISPLAY=:99 xdotool sleep 1
21DISPLAY=:99 xdotool click 1 21DISPLAY=:99 xdotool click 1
22DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png 22DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/3.png
23tar -czf images.tar.gz *.png 23tar -czf images.tar.gz *.png