Start for free Deutsch Log in Register
Please try again later or contact us. Thank you very much!

Subscribe to the newsletter to be informed about important technical updates to the Mobile Device Cloud.

* mandatory information

Save

Mobile app testing & automation with XCUITest

The use of the following test frameworks and test tools has been evaluated and tested. Other common frameworks and test tools are under evaluation. If you have any questions about using your preferred test tools, please feel free to contact us.

Appium Appium + Jetpack Compose XCUITest Espresso TestCafe Tosca Selenium Testerra

1. Remote debugging

Using remote debugging, you can run your XCUI tests in the Mobile Device Cloud as you would on a local device. To do this, download the remote debugging client:

  • for MacOS

and open a terminal in the client's folder.

Borrow a device in the Mobile Device Cloud and click on Tools → Remote Debugging. Copy the displayed command into the terminal and execute it. Now the device is displayed in XCode like a local device and can be used as such.

You will find detailed instructions here.

2. REST interface

Another way to run XCUI tests is via our REST interface.

To do this, generate an .ipa file for your app to be tested and a ZIP archive for your tests. You can find the exact steps here.

Pass the two files to our API:

curl --request POST \
  --url https://mobiledevicecloud.t-systems-mms.eu/api/v1/test-run/execute-test-run \
  --header 'Authorization: Bearer <accesskey>' \
  --header 'content-type: multipart/form-data' \
  --form 'executionType=xcuitest' \
  --form 'runningType=coverage' \
  --form 'testApp=@<Pfad zur Test-App>' \
  --form 'app=@<Pfad zur App>' \
  --form-string "deviceQueries=@os='ios'"

You can find documentation of the interface here.