Run Demo Applications

Android Demo App

  1. Install the Mobile Testing Agent app to a physical or virtual device.

  2. Download Android demo application and unzip it.

  3. Open Android Studio

  4. Select Open an existing Android Studio Project

  5. Open /DemoApplication and click OK

    Open demo application

  6. Select View > Tool Windows > Build Variants

  7. Select the mobileTestingDebug build variant

    Select testing debug

  8. Click Run to deploy the demo app to a device or an emulator.

    Run the demo app

  9. After the demo app is deployed, you can record Android test and execute it. Alternatively download the mobile demo tests project, open it in Test Studio Mobile and excute tests in Android_Native_Tests folder.

iOS Demo App

  1. Install the Mobile Testing Agent app to a physical or virtual device.

  2. Download iOS demo application and unzip it.

  3. Open Xcode

  4. Select File > Open

  5. Open /DemoApplication/DemoApplication.xcodeproj and click Open.

    Open demo application

  6. Select the DemoApplicationQA target and select a device or simulator

  7. Click Run

    Run the demo app

  8. After the demo app is deployed, you can record iOS test and execute it. Alternatively download the mobile demo tests project, open it in Test Studio Mobile and excute tests in iOS_Native_Tests folder.

Hybrid Demo App

  1. Install the Mobile Testing Agent app to a physical or virtual device.

  2. Download Hybrid (Cordova) demo application and unzip it.

  3. Open a command window in the DemoApplication folder and follow the Cordova Command-line Interface guide to add required platforms and deploy to devices or emulators.

  4. After the demo app is deployed, you can record Android Hybrid test or iOS Hybrid test and execute it. Alternatively download the mobile demo tests project, open it in Test Studio Mobile and excute the Android Hybrid tests in the Android_Hybrid_Tests folder or the iOS Hybrid tests in the iOS_Hybrid_Tests folder.

See Also