June 2024
After huge investments in R&D, Greenspector is proud to release new product about measurement of iphone. Greenspector now use XUITEST to implement his GDSL commands to launch test on iphone devices of your own or installed on Greenspector Power Test Bench.
Greenspector depreciates his old GDSL commands implemented with facebook web driver agent.
Using the XUITEST framework is preferable for measurement because it can be runned directly on the phone without being controlled by the web driver agent that induces network communications.
Please update Greenspector CLI and Test Runner
Â
Power Test Bench
iPhone 14 are now available on the Test Bench. Energy metrics on Iphone is getting by a hardware probe
Web Interface
As a user, when measuring on iPhone on Power Test Bench, I want to see the status of my GDSL tests, see errors details and I want to be able to download my tests results which contain dump and screenshots of my test to understand errors.
GDSL for ios
I can now write my functional journey test with GDSL for iOS.
Here is the list of 40 available GDSL commands for iOS
Â
Greenspector CLI /
As a user, I want to measure my app on an iPhone device by passing it with a local path to my ipa, a URL to my ipa, or a link to my app on the Apple Store
# use path to local ipa on your PC gspt tb ct --ts suite1:./demo.testgb --app ./demo.ipa -m com.greenspector.demo --iterations 1 -e PAUSEDURATION="30000" -e PAUSEAFTERLOAD="1000" # use link to public ipa gspt tb ct --ts suite1:./demo.testgb --app https://test.greenspector.com/demo.ipa -m com.greenspector.demo --iterations 1 -e PAUSEDURATION="30000" -e PAUSEAFTERLOAD="1000" # use url of your app in apple store (example for spotify app) gspt tb ct --ts suite1:./spotify.testgb --app https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580 -m com.spotify.client --iterations 1 -e PAUSEDURATION="30000" -e PAUSEAFTERLOAD="1000"
Â
Test Runner
As a user, I want to build my functional journey test for iOS app using GDSL with my TestRunner. I can analyse tests results directory which contains screenshots and dumps.
Improvements
Greenspector CLI
For benchmark or functional journey tests, in order to upload applications to Power TestBench device to be measured, the key word --apkFile, --apkFiles and --target are deprecated, use --app instead. Old keywords are maintained for backward compatibility.
# use link to public apk
gspt tb ct --ts suite1:./demo.testgb --app https://test.greenspector.com/demo.apk -m com.greenspector.demo --iterations 1 -e PAUSEDURATION="30000" -e PAUSEAFTERLOAD="1000"
Â
Documentation changes
In CLI : Installation of app for android (apk) and ios (ipa), -- apkFile is deprecated, use -- app instead