UPDATE 25 NOV 2024
In this section, you will find how to launch a functional journey analysis on a local android device as it has been described in the Getting started part.
Preparation
Device configuration with the Checklist Android device configuration
Validated access to the application
Created application on Greenspector Studio
Completed job.yml and config.yml files
To launch final measurements, take care about these parameters in job.yml :
iterations: 3
online: true
config-skipsetupphone: false
PAUSEDURATION: 30000
PAUSEAFTERLOAD: 1000
tcpdump:true
Launch a functional journey analysis on a local Android device
Launch of a functional journey on a local device needs :
GDSL script
job.yml & config.yml
Connected smartphone in adb Wifi
Reminders:
Please disconnect the device from the USB cable to avoid altering the energy measurements by supplying power from the PC.
Test launch
Testrunner is now ready to be launched. Simply launch it to start a measure :
Go in the folder where job and config files are located
Launch the following command in the terminal
testrunner
Testrunner automatically recognizes config.yml
and job.yml
.
If different names or path are used, please specify them with: testrunner -c path/myconfig.yml -j path/myjob.yml
During the measurement execution and until measurement end:
Don’t close terminal
Don’t interact with device. Check device screen to see the measure running.
Results
The Testrunner prompts the result at the end of the measure. In case of failure, error’s line is given to help to adapt GDSL file. Results are available:
On Greenspector Studio if
online
is true injob.yml
.
For a better understanding, screenshots of steps are available at greenspector/dd-mm-yyyy XXhXXm/tests-results/MYAPP/parcours/iteration 1/screenshots
. The final state is called success.png
or failed.png
regarding the result.
If the test doesn’t succeed, refer to Measure Troubleshooting
If the test succeeds, congratulations!
Check the consistency of measures with Verification of measures consistency