Step by step guide to download & setup appium

In this article, we will see basic setup of Appium, where we can run appium tests on mobile handset or tablet or mobile emulators

Refer below links to know the concept behind appium


Follow the below steps one by one to accomplish the appium setup…

Step1 : For the selenium setup

please refer selenium webDriver setup

[Above link describes, selenium with eclipse setup]


Step2 :

For Android – Install Android SDK

Open the above link and scroll down to the section “Android Studio downloads”, chose the recommended option and install (select a folder to install)

Open Android Studio,

Tools | SDK Manager

Android SDK Location: enter the folder path where you want to download all the packages

For e.g - /Users/MyUser/Library/Android/SDK

Find these below 2 tabs and select following options to install packages

Tab 1 – “SDK Tools” 

  • Android SDK Platform-tools
  • Android SDK Build-tools
  • Android SDK Tools
  • Android Emulator
  • Google USB driver
  • Google play services

Tab 2 – “SDK Platforms”

  • Respective Android API level (i.e which version of android OS running on your mobile)
    [e.g – Android 8.1 (API 27)]

Set environmental variable:

[How to : set Env variable]

Add environmental variable

variable name : ANDROID_HOME

Edit environmental variable

variable name: path
value: ;/Users/MyUser/Library/Android/SDK/tools;


For iOS – install xcode

Download from here


Step3 : Enable Developer options

On mobiles or tablets

  • navigate to Settings > About / About phone
  • Scroll down and tap around 7 times on Build number
  • Confirmation popup comes with text “Developer mode has been enabled” or “you are now a developer”
  • Now come back to Settings, and you can see Developer options, turn ON this option.
  • Now connect mobile / tablet to the computer, you will see device shows “USB debugging connected”


Step4 :

Get android device information by ADB commands

[Device can be mobile, tablet or emulators]

Connect device to computer in debug mode or open android simulator,

then, open command prompt and type

adb devices : lists devices connected to computer

If in case, adb devices shows no result, better to use below troubleshooting steps:
type: adb kill-server and key press enter
then, adb start-server and key press enter
then try, adb devices [you should be able to see the device details now]

Note: From the above screenshot, adb devices have any one of the states
[Serial number] [state]

if device is connected, then state shows “device”,
if device is not connected properlly or not responding, then state shows “offline”
If no device connected, then result will be blank

Solution if adb command doesn’t work directly from start –> Run

Navigate to the platform-tools folder under AndroidSDKInstall folder, key press SHIFT and right click then select  “Open command prompt here”, now adb command should work.



Get iOS device information

xcrun simctl list | egrep '(Booted)'

this will list the current ios device or simulator that is active or booted.


Step5 : Download Appium language bindings

We use java language to automate, so download appium-java jar file

go to:

Select language as, Java and download the jar file. [java-client-x.x.x.jar]


Step6 : Appium.exe for GUI

Navigate to this link and download latest appium for desktop zip file

install and open the exe to get window as shown below sceeenshot



Step7 : download and install node.js

Navigate to

Select respective installer (32 or 64 bit) depending on your OS to download and install as usual way.



If you are done with the setup, then follow below video for the demo

Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our, Thanks!

6 Responses

  1. June 7, 2016

    […] to download and install android SDK, follow this post ] Double click on SDK Manager.exe, (from AndroidSDKInstall folder), and install following […]

  2. June 7, 2016

    […] devices, for this we will be using UIAutomatorViewer tool. Before continuing further, please refer Appium setup for windows to get started with. (become easy to get started […]

  3. June 7, 2016

    […] proceeding to get the details, refer Appium setup for windows (Make sure you have Android SDK installed folder on your machine and environmental […]

  4. June 9, 2016

    […] Appium setup for windows [Mandatory to have the setup before proceeding] […]

  5. July 21, 2016

    […] Download and install appium.exe (refer step6 of appium setup) […]

  6. October 21, 2016

    […] To install Android SDK and enable USB debugging, Refer step 2 & 3 of Appium setup for windows. […]

Leave a Reply

Your email address will not be published. Required fields are marked *