This guide explains what you need for mobile testing in Ranorex Studio: supported devices, connection requirements, required ports, automation libraries, and the recommended next steps to get your first mobile test running.
System requirements
Ranorex Studio supports Android and iOS mobile devices.
Supported Mobile OS Versions
Mobile device |
Versions |
| iOS versions |
|
| Android versions |
|
Connection
Mobile testing requires connecting your device to the computer where Ranorex Studio is installed:
- USB (recommended)
- WiFi
Ranorex iOS implementation requires that ports 31000 TCP and 31000 UDP must be open on your computer.
Also, Ranorex Android requires other ports above 31000 TCP; so, it can enable ports up to 31020. On some Android devices, such as Huawei devices, ports 31000–31900 are already in use.
Make sure to:
Open the ports on your computer (firewall/network rules).
- Configure the endpoint Discovery and Device port fields in Ranorex Studio based on the ports reported by RxService.
Use the correct automation libraries for mobile testing
Mobile automation is based on the Ranorex automation libraries for mobile testing. To avoid technology limitation warnings and runtime errors, always use the libraries that match your installed Ranorex Studio version. You can download the correct libraries from the mobile download archive.
The basic procedure of mobile testing
Mobile tests in Ranorex Studio always follow the same basic procedure, regardless of the type of device. The mobile OS and the type of test (app test or mobile web test) then determine the specific actions and settings in the steps this basic procedure entails.
Prepare your device
- Enter the recommended device settings for Android and iOS
- Install the Ranorex Service App
Connect your device
- Choose a connection type
- Add the device as an endpoint in Ranorex Studio
Instrument apps
- Pre-instrumented Ranorex web browser (Android, iOS)
- Instrument Android apps
- Instrument iOS apps
- Pre-instrumented iOS sample app
Create a mobile test
- Create a solution for mobile testing
- Choose technology and test type
- Create the mobile test
Run a mobile test and get the report
The following chapters explain each of these steps in detail.
Next steps
To start mobile testing right away: