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
Create an Android emulator with the AVD Manager.
Download the Test Studio Mobile extension for Andorid and unpack it. Find the
MobileTesting.apk
file.Open a new command window.
Open the Android SDK subfolder: /sdk/platform-tools.
-
OS X
Type ./adb devices to see a list of connected devices.
-
Type ./adb -s DEVICE_ID install "\path\to\MobileTesting.apk"
where DEVICE_ID is the target device or emulator.
-
Windows
Type adb devices to see a list of connected devices.
-
Type adb -s DEVICE_ID install "\path\to\MobileTesting.apk"
where DEVICE_ID is the target device or emulator.
Install on iOS simulator
Open a new command window.
Download the Test Studio Agent App package for iOS and unpack it. Find the
MobileTestingSimulator.app
folder.
-
Using Xcode 6
-
To get a list of all available simulators type: xcrun simctl list
-
Choose a device and boot it if it is not already.
-
-
Using Xcode 7
-
Open the Spotlight search and type Simulator to find the Simulator app and start it.
-
Once a simulator is booted, install the MobileTesting.app
to it by the following terminal command.