...
Android GDSL functions: https://dsl.greenspector.com/
How to use uiautomatorviewer to get elements of a view (by id, text, class or description) to write GDSL test: How to get elements of a view (by id, text, class or description) to write GDSL test (Android)
2. Use an android emulator without Greenspector tools
...
Info |
---|
On macOS, you may have the following warning:
To fix that , you have to click on accept the notification by clicking on Allow anyway in the Apple menu , and then on / System Settings > Privacy & Security > Allow Anyway |
Info |
---|
On macOS with M1 chip, you may need to install Rosetta first:
|
Download the android-service executable in 32 bits and its version file : https://dl.greenspector.com/emulator/android-service-files.tar.gz
Info |
---|
On macOS with M1 chip, you have to download the android-service executable with arm architecture: https://dl.greenspector.com/emulator/android-service-files-mac-m1.tar.gz |
Go to your greenspector cache:
On Linux and macOS:
$HOME/.greenspector
On Windows:
C:\Users\[username]\.greenspector
Replace the android-service and android-service.version files with the downloaded files. You will have to decompress the tar.gz file.
You can now run the testrunner with the --no-update option:
On Linux and macOS:
./testrunner -jobFile job.yml -config config.yml --no-update
On Windows:
testrunner -jobFile job.yml -config config.yml --no-update
...