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 device 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 performed directly on the phone without being controlled by the web driver agent that induces network communications.
Please update Greenspector CLI and Test Runner
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
Power Test Bench
iPhone 14 are now available on the Test Bench. Energy metrics on Iphone is getting by a hardware probe
Greenspector CLI /
As a user, when measuring on iphone, I want to be able to download my test results which contains dump and screenshots of my test
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 using GDSL with my TestRunner
As a user, I want to build my functional journey
Improvements
Greenspector CLI
For benchmark or functional journey tests, 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"