Versions Compared

Key

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

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 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 performed runned directly on the phone without being controlled by the web driver agent that induces network communications.

...

Here is the list of 40 available GDSL commands for iOS

...

Info

Please update Greenspector CLI and Test Runner

Power Test Bench

  • iphone iPhone 14 are now available on the Test Bench. Energy metrics on Iphone is getting by a hardware probe

...

  • devices.pngImage Added

Web Interface

  • As a user, when measuring on iphone, 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 test tests results which contains contain dump and screenshots of my test to understand errors.

    testapp2r.pngImage Addedtestapp1.pngImage Added


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

gsl_ios.pngImage Added


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

    Code Block
    
    # 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.

Code Block
# 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