To help you meet the demands of mobile users, Test Studio offers automated responsive testing enabling you to test your web application's layout, functionality and behavior on mobile and desktop browsers.
As of March 1, 2020, native mobile testing is no longer supported.
Setting up your app for testing with Telerik Mobile Testing plugin requires that you disable the Analytics plugin which is enabled by default in some of the AppBuilder app templates.
Follow the step-by-step instructions below to create a new sample AppBuilder hybrid app, add the Telerik Mobile Testing plugin to it, and execute sample tests against it.
To create an AppBuilder sample hybrid app, an account in the Telerik Platform is needed. Once logged in, create a new app by clicking on the Create App button.
Select Advanced tile. For the purpose of this tutorial we will use the Airlines demo application from the Samples and templates option. Let's name the app
MySampleAppand click the CreateApp button.
The next step is to enable the Telerik Mobile Testing plugin and set the app's configuration variable to match the app identifier. To do this, double-click Properties in the solution explorer and then go to Plugins. Scroll to the bottom and enable the Telerik Mobile Testing plugin. If Telerik Mobile Testing is not in the list, add it from the plugin marketplace by clicking on the Install from Plugins Marketplace button. Finally expand the plugin and click on the Configuration variables button. Enter the iOS app identifier that you will use in your iOS hybrid tests.
In your iOS hybrid tests the app identifier for an iOS app must match the IOS_APP_URL entered in the Configuration variables dialog, and suffixed with :// . For example airlinessampleapp://.
The Configuration variables window sets only the iOS variable. The Android variable is set by default in the
Generalsettings and can be changed from there (see below).
Go to General settings and verify the Application Identifier matches the Android app identifier that you will use in your tests.
To build the app click Run, then Build and choose the Android or iOS app package. For iOS builds you need to have your private identity and provisioning profile correctly setup.
After a successful build, the app can be downloaded (iOS & Android) or QR scanned (Android) and installed.