revise
This commit is contained in:
parent
a4559038b6
commit
7f9d95bd8a
|
@ -769,7 +769,7 @@ python3 themis.py --no-headless --avd Android7.1 --apk ../nextcloud/nextcloud-#5
|
||||||
|
|
||||||
Here,
|
Here,
|
||||||
* `--login ../nextcloud/login-#5173.py` specifies the login script (which will be executed before GUI testing)
|
* `--login ../nextcloud/login-#5173.py` specifies the login script (which will be executed before GUI testing)
|
||||||
|
* In practice, we use the emulator snapshot to store the app login state beforehand.
|
||||||
|
|
||||||
# 3. Instructions for Reusing Themis
|
# 3. Instructions for Reusing Themis
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ then
|
||||||
sleep 5 # wait for a few seconds before installation to avoid such error: "adb: connect error for write: closed"
|
sleep 5 # wait for a few seconds before installation to avoid such error: "adb: connect error for write: closed"
|
||||||
adb -s $AVD_SERIAL install -g $APK_FILE &> $result_dir/install.log
|
adb -s $AVD_SERIAL install -g $APK_FILE &> $result_dir/install.log
|
||||||
echo "** INSTALL APP (${AVD_SERIAL})"
|
echo "** INSTALL APP (${AVD_SERIAL})"
|
||||||
python3 $LOGIN_SCRIPT ${AVD_SERIAL} 2>&1 | tee $result_dir/login.log
|
python3 $LOGIN_SCRIPT ${AVD_SERIAL} monkey 2>&1 | tee $result_dir/login.log
|
||||||
|
|
||||||
# enable if use the snapshot (already login, do not need to install the app)
|
# enable if use the snapshot (already login, do not need to install the app)
|
||||||
echo " *** Login SUCCESS ****" >> $result_dir/login.log
|
echo " *** Login SUCCESS ****" >> $result_dir/login.log
|
||||||
|
|
Loading…
Reference in New Issue