Before you can use test automation with a mobile app, you must instrument the app. Instrumenting an app means configuring the app so that Ranorex Studio can access the GUI and functions of the app to create and run an automated test.
Instrumenting apps work differently for Android and iOS, which is why the procedures are explained separately in this chapter.
Preinstrumented Ranorex Web Browser for Android
For web tests on Android devices, the pre-instrumented Ranorex web browser for Android is required.
Download and install the Ranorex Web Browser
-
Scan the QR code below or go to https://support.ranorex.com/rxApp to download the Ranorex Web Browser for Android.
-
Select the pre-instrumented browser in the mobile download archive:
-
Install it as you would any other app on your mobile device.
-
-
Opened Ranorex Web Browser.
-
The app is also listed in the Ranorex Service App, which indicates that it has been instrumented correctly.
-
Preinstrumented Ranorex Web Browser for iOS
For web tests on iOS devices, the preinstrumented Ranorex web browser for iOS is required.
Download and install the Ranorex web browser
-
Scan the QR code below or go to https://support.ranorex.com/rxApp to download the Ranorex Web Browser for iOS.
-
Select the pre-instrumented browser in the mobile download archive:
-
Install it as you would any other app on your mobile device.
-
-
Opened Ranorex Web Browser.
-
The app is also listed in the Ranorex Service App, which indicates that it has been instrumented correctly.
-
Instrument an Android app
You need to instrument Android apps before you can use them for mobile tests with Ranorex Studio.
Instrumenting Android apps is explained in the following chapter Interfaces and connectivity > Ranorex Instrumentation Wizard > Android apps.
Instrument an iOS app
You need to instrument iOS apps before you can use them for mobile tests with Ranorex Studio.
Instrumenting an iOS app means integrating a special Ranorex library (Ranorex libs) into the source code of the app and then compiling it. Afterward, the app needs to be signed with a P12 certificate and the proper provisioning profile.
For more information on iOS development and release procedures, please refer to the official Apple documentation.
There are two ways to instrument iOS apps:
- With the Ranorex Instrumentation Wizard (recommended)
Instrumenting iOS apps using the Instrumentation Wizard is explained in Interfaces and connectivity > Ranorex Instrumentation Wizard > iOS apps
- Manual instrumentation of the source code in iOS with Xcode iOS developers can integrate the Ranorex library, compile it, and sign the app manually using Xcode.
Manual instrumentation is explained in the following chapter Web and mobile testing > Advanced mobile testing > iOS source-code instrumentation
Preinstrumented iOS sample app
Ranorex provides a preinstrumented iOS sample app for evaluation and learning purposes. The app is KeyPass for iOS, distributed under the GNU General Publice License. For information regarding the copyright holder and the license agreement, go to https://keepass.info/help/v1/license.html.
Download and install the sample app
-
Scan the QR code below or go to https://support.ranorex.com/rxApp.
-
The mobile download archive is categorized according to Ranorex Studio versions and mobile OS. Download the RxMiniKeePass app for iOS devices for your Ranorex Studio version.
-
Next, install the sample app as you would any other app on your device.
-
The RxMiniKeypass app appears on your home screen.
-
Since the app is already instrumented, it also automatically appears in the Ranorex Service App.