Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 see my job in the old Greenspector Studio 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 2 new gdsl functions: findByClass and clickOnLastElementFound.

The findByClass function allows to find an element thanks to its class from the dump file. You can specify the rank of the element. Then, to click on the element, you can use the clickOnLastElementFound function.

Example: GDSL script to click on the third element with the TextField class

Code Block
languagebash
findByClass,TextField,3
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

  • Before, it was not possible to use the app field without a path separator. The parameter --app file.apk gave an error. It is now fixed.

Documentation changes