Agent App Installation

Overview

The Mobile Testing Agent app must be installed on physical or virtual devices that will execute tests against native or hybrid apps. This app connects the machine where Test Studio Mobile is installed and the actual testable app.

Install to a real device

Mobile Testing Agent app can be installed for free from AppStore or Google Play. Search for Mobile Testing and install the app to any supported device aimed for testing.

Install to an Android emulator

  1. Create an Android emulator with the AVD Manager.

  2. Download the Test Studio Mobile extension for Andorid and unpack it. Find the MobileTesting.apk file.

  3. Open a new command window.

  4. Open the Android SDK subfolder: /sdk/platform-tools.

  • OS X

    1. Type ./adb devices to see a list of connected devices.

    2. Type ./adb -s DEVICE_ID install "\path\to\MobileTesting.apk"

      where DEVICE_ID is the target device or emulator.

      Device ID

  • Windows

    1. Type adb devices to see a list of connected devices.

    2. Type adb -s DEVICE_ID install "\path\to\MobileTesting.apk"

      where DEVICE_ID is the target device or emulator.

      Device ID Windows

Install on iOS simulator

  1. Open a new command window.

  2. Download the Test Studio Mobile extension for iOS and unpack it. Find the MobileTesting.app folder.

  • Using Xcode 6

    1. To get a list of all available simulators type: xcrun simctl list

      Install app agent

    2. Choose a device and boot it if it is not already.

      Boot simulator

  • Using Xcode 7

    1. Open the Spotlight search and type Simulator to find the Simulator app and start it.

      Open Spotlight

Once a simulator is booted, install the MobileTesting.app to it by the following terminal command.

Install agent

See Also