automated/android/apk-automation/apk-automation¶
Description¶
Automate testing with Android APK.
Maintainer¶
OS¶
- android
Scope¶
- performance
Devices¶
- juno
- hi6220-hikey
- x15
Steps to reproduce¶
- cd ./automated/android/apk-automation
- ./apk-automation.sh -S "\({SKIP_INSTALL}" -t "\)" -s "\({ANDROID_SERIAL}" -n "\)" -l "\({LOOPS}" -d "\)" -u "\({BASE_URL}" -g "\)"
- cp "./output/${TEST_NAME}/result.txt" "./output/result.txt"
- tar caf "output-${TEST_NAME}.tar.xz" "./output"
- if [ -n "\({SQUAD_UPLOAD_URL}" ]; then ../../utils/upload-to-squad.sh -a "output-\)"; fi}.tar.xz" -u "${SQUAD_UPLOAD_URL
- if [ -z "\({SQUAD_UPLOAD_URL}" ]; then ../../utils/upload-to-artifactorial.sh -a "output-\).tar.xz" -u "\({ARTIFACTORIAL_URL}" -t "\)"; fi
- ../../utils/send-to-lava.sh "./output/result.txt"