Commit 40bbff40 authored by Romain Hunault's avatar Romain Hunault
Browse files

Screenshot web shortcuts

parent fcc6e2f7
......@@ -35,6 +35,40 @@ sleep 1
adb shell input tap 150 1200
sleep 1
adb shell "screencap -p > /sdcard/$app/$language/folder_1.png"
# shortcut_installation
adb shell input keyevent 3 # KEYCODE_HOME list https://developer.android.com/reference/android/view/KeyEvent.html
sleep 1
adb shell input tap 650 2150
sleep 1
adb shell input tap 600 200
sleep 1
adb shell input text "https://spot.ecloud.global/"
sleep 1
adb shell input keyevent 66 # KEYCODE_ENTER
sleep 5
adb shell input tap 1000 200
sleep 1
adb shell input tap 900 1600
sleep 1
adb shell "screencap -p > $DEVICE_FOLDER/shortcut_installation_1.png"
sleep 1
adb shell input tap 900 1350
sleep 1
adb shell input keyevent 3
sleep 1
adb shell "screencap -p > $DEVICE_FOLDER/shortcut_installation_2.png"
# Shortcut uninstallation
adb shell input keyevent 3 # KEYCODE_HOME list https://developer.android.com/reference/android/view/KeyEvent.html
sleep 1
adb shell input draganddrop 700 1150 700 1150
sleep 1
adb shell input tap 750 1100
sleep 1
adb shell "screencap -p > $DEVICE_FOLDER/shortcut_uninstallation_1.png"
adb shell input tap 900 1330
sleep 1
adb shell input keyevent 4
# Widgets
adb shell input keyevent 3
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment