...
As a user, I can use the Test Runner to launch measurement on my local device and retrieve results in the new Greenspector Studio web interface. I only need to put
online: true
to my job.yml file. I can also see my job in the measuring workshop web interface, in the “Tests tracking” tab.
...
API
As a user, I can generate an API token to call new Greenspector studio API with curl or any other tools.
...
Code Block |
---|
curl -X 'GET' \ 'http://saas.greenspector.com/api/v1/applications' \ -H 'accept: application/json' \ -H 'Authorization: Bearer XXXX' |
Improvements
GDSL for ios
There are 4 new gdsl functions:
findByClass
findByText
findByTextExact
clickOnLastElementFound
The findByClass function allows to find an element thanks to its class from the dump file. You can add a second parameter to specify the rank of the element. By default, the first rank is used. You can also add a third parameter to detect elements with the enabled field set to true or false. By default, this parameter is set to true. Then, to click on the element, you can use the clickOnLastElementFound function.
Example of a gdsl script to click on the third element with the TextField class and the enabled field set to true:
Code Block | ||
---|---|---|
| ||
findByClass,TextField,3,true
clickOnLastElementFound |
Bug fixes
Greenspector Studio - new interface
Fixes an error that occurred when creating a benchmark of a mobile application
Fixes issue where user was not an admin of their organization when signing up
Fixes total measurement time not equal to the sum of intermediate measurement times. Deleted applications were not included in intermediate measurement times.
Fixes measurement time display
...
Test Runner
Fixes a bug linked to the new version of tcpdump (4.99.1). With this version, if we don't have the rights to run tcpdump without sudo, the "tcpdump --version" command doesn't work. Now, we check for the tcpdump rights before checking the version.
Greenspector CLI
Fixes an error that occurred when using the app parameter with a file path relative to the current directory without using the path separator “./”. For example
--app ./file.apk
worked while--app file.apk
did not.
Documentation changes
API document documentation with example examples with curl and postman Greenspector Studio API