This quick starting guide shows you how to properly use the new iOS RxServiceApp to create automated tests and how to prepare your iOS project so that start/stop app functionality can be used.
Prepare Your iOS Project to Enable Start/Stop Functionality
The following step-by-step instructions are based on Xcode 6.
If the app will be instrumented manually, please do the following steps to register the custom URL scheme so that the starting and stopping will work correctly:
- Open your project in Xcode 6.x
- Follow the instructions in the section: Instrumentation with source code on iOS
- In Xcode choose the “Info” tab
- Under Custome iOS Target Properties add URL types key
- Expand URL types key with Item0
- Expand Item0 with URL schemes
- Expand URL schemes with Item0 and write the app activity name as a value
Proper use of the iOS Service App
To use the new start/stop functionality via USB or WiFi, make sure that the RxServiceApp is running and is active on the device. You can either use the instrumentation wizard to deploy the service app as described in ⇢ Instrumentation Wizard – iOS, or download and install the service app on your device from our mobile download archive by scanning the following QR Code or using the following short URL:
Use the QR Code above or the URL https://bitly.com/mArchive to directly access the download archive on your mobile device.
You can still create automated tests without the iOS RxServiceApp. Please note that without the RxServiceApp the start/stop functionality won’t work.
To add a device without the service app, make sure that an instrumented app is running and active on the device.