- StudioPro
- Orchestrator
- Testing robots
- Test Manager
Local Devices
To set up a local device to work with the Mobile Automation activities, be it a physical device or an emulator, you need to run a local instance of Appium, and have the necessary tools to automate Android or iOS devices.
Topic sections:
APK
or IPA
file to an URL that is anonymously accessible by the Appium server (e.g. Blob storage).
Installing applications from the Play Store or App Store is not possible, except if you manually automate these applications to install your specific application.
To configure a local Android device, you need to prepare your environment and add it to the Mobile Device Manager.
Topics in this section:
Prepare and configure your environment.
ANDROID_HOME
Variable value: C:\Users\Username\AppData\Local\Android\Sdk
Note: The Username
part, inside the Variable Value path, must be replaced with the actual name of the user operating on the machine.
b. JAVA_HOME variable. You need to have Java already installed to configure this variable. You can download Java through a zip file here.
JAVA_HOME
.
C:\Program Files\Java\jdk8
.
c. Click Ok to confirm.
-
Edit the Path variable for your user to include Android Debug Bridge (ADB):
a. Click New and add the following value:
%ANDROID_HOME%\platform-tools
b. Click Ok to confirm.
-
Click Ok to set the variable.
Before starting any application on your device, you need to start running an Appium server on your machine. Open the command prompt and run Appium with the following parameters:
appium -p 10001 --relaxed-security --allow-insecure chromedriver_autodownload
- If the auto-download fails, you can point to an already downloaded chromedriver.exe, by concatenating the following command:
--chromedriver-executable "path_to_chromedriver"
- To get help with your Appium debuggingg, run the following command:
appium-doctor
- To kill Appium, use the
ctrl + c
command.
Enable WebView debugging.
If Appium doesn't autodetect the Chrome or the WebView version on your Android, choose one of the options below:
To configure a local iOS device, simulator or physical device, and automate an application, you will have to set up the Appium server on a macOS machine.
APP
extension and you want to upload the app to a public URL, you will need to create a folder named Payload
, place the APP
inside it, archive the Payload
folder and change the extension to IPA
instead of ZIP
.
Additionally, ensure that the application that you are trying to automate is compiled for the target architecture (simulator or physical device).
Topics in this section:
If you want to use the Mobile Automation activities with a physical iOS device, you will need an Apple Developer account.
- Overview
- Application Storage
- Android Device Configuration
- Preparing Android Environment
- Starting Appium Server
- Creating Android Emulator
- Enabling Web and Hybrid Automation With WebDriver
- Configuring Android Physical Device
- Adding Local Android Device in Mobile Device Manager
- IOS Device Configuration
- Preparing MacOS Environment
- Configuring IOS Physical Device
- Adding Local IOS Device in Mobile Device Manager