Before you can connect your device to Ranorex Studio and add it as an endpoint, you need to make certain preparations.
iOS device settings
Deactivate Auto-Lock
-
Go to your device’s settings.
-
Select Display & Brightness.
-
Set Auto-Lock to Never.
Connect your device to a power source
Regardless of the connection type (USB/WiFi), make sure that your device is connected to a power source at all times during test creation and execution.
This ensures that everything runs as intended and is particularly important for WiFi connections, as it deactivates power saving.
Install the Ranorex Service App
To create and run mobile tests on your mobile device, you need to install the Ranorex Service App on your device.
You can install it on your device by running the Instrumentation Wizard or download it from Download Archive.
-
Click the Service App link.
-
Click Install to start the installation.
- The Ranorex Service App appears on the home screen.
- iOS labels the Ranorex Service App as 'untrusted' since it wasn't downloaded from the App Store. Simply close the dialog to proceed.
- iOS labels the Ranorex Service App as 'untrusted' since it wasn't downloaded from the App Store. Simply close the dialog to proceed.
Confirm Ranorex Service App as trusted
Before you can use the Service App, it needs to be trusted. In your iOS device follow these instructions:
-
Go to Settings > General.
-
Go to VPN & Device Management.
- Tap Ranorex GmbH.
- Tap Trust “Ranorex GmbH”.
- Tap Trust to confirm that Ranorex Service App is now trusted.
Your iOS device is now ready to be connected to Ranorex Studio.
Update Service Instrumentation Wizard
After you have added your Android device as an Endpoint, run the Instrumentation Wizard.
-
Select Instrument a mobile device and click Next.
-
Choose between iOS and Android. Click Next.
-
Under the Instrument, a mobile device screen, select a device from the drop-down list and click Next.
-
When the Ranorex Service is not installed on your device, the Instrumentation Wizard opens the Update Service tab. Select the Update checkboxes for Ranorex Service and Ranorex Web Testing and click Finish.
-
Once the Operation successful message displays, click Finish.