Mobile Installation

Mobile Installation & Configuration

To work with mobile tests, we will need to install and configure two things:

  1. Appium Desktop

  2. ADB - platform tools

Download and install Appium

Recording can be done using specially build Appium Desktop version with added recording support for Oxygen.

Download and install adb.exe

ADB - is a short for Android Debug Bridge, it allows us to have the infrastracture of basic communication with physical devices /simulators that are connected to our computer. In order to get it there are 2 ways : either download and install SDK tools for Windows/Mac (recommended) or - download and install Android Studio.

SDK tools:

Download link: Scroll a little to the bottom and you will see SDK tools download.

Or - Android Studio Download link:

Configuring your ADB

Go to the path where the folder: 'Platform Tools' is located(where you installed the SDK tools from above), and follow these steps:


  1. In Search, search for and then select: System (Control Panel)

  2. Click the Advanced system settings link.

  3. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.

  4. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable (in the following example its : "C:\Users\[YOUR_USER]\AppData\Local\Android\Sdk\platform-tools") and click OK.

  5. Add JAVA_HOME variable : Create new variable like before , but name it: 'JAVA_HOME' , and insert the value of a path to your JRE or JDK (the folder that contains 'java.exe'), like in the following picture:

  6. Add ANDROID_HOME variable : Create new variable like before , but name it: 'ANDROID_HOME' , and insert the value of a path to your SDK (the folder that contains the folders: 'platform-tools' and 'build-tools'), like in the following picture:

If you are the administrator of the computer - there should be no issues adding these environment variables in your system variable, but if you add it to a certain user, you must run the Appium Desktop and commands from cmd using the specific user. There could be permission issues so you need to make sure you are doing the configuration properly and all under one user.

Checking adb is configured properly

Now in order to check if adb is configured open command line, and type : 'adb devices' and press Enter. You will now receice a list of all available devices that are connected to your machine.

Unlocking Developer options (Android only)

In order to work with Appium Desktop - you must enable USB debugging , which is only possible while in Developer mode (No worries, it does not harm your phone). You can do it simply by following these steps:

  1. Go to settings screen

  2. Click 'System settings'

  3. Click 'About phone'

  4. Tap 10 times on 'Build number' - and you should receive a message the developer options are unlocked.

  5. Go to Developer options (located differently on different phones).

  6. Toggle 'USB debugging' on.

And that's it, your phone is now ready for mobile automation!

Recognizing your phone using adb commands

In order to see that everything worked well , you need to write the following command in your command line: 'adb devices'.

The list of all devices attached to your computer will be shown.