Tuesday, 24 January 2017

Appium setup ( Windows OS )

  1.  connect your Android mobile using USB data cable, then choose file transfer / camera option in the Use USB for.



2. Go to Settings -> Developper Options -> ON
Then Set these options to ON ( Stay awake, USB debugging, Allow Mock Locations)


1.       Install Java 8
2.       Install Eclipse Neon
3.       Install Eclipse ADT plugin (To use Android SDK with Eclipse), this step will ask for Android SDK installation.  https://dl-ssl.google.com/android/eclipse/ (select all check box of developer tools)
4.       After step 3, eclipse restarts and asks for Android SDK download (Opens up Android Manager window, here Choose the appropriate SDK version and go for install)
5.       Set Environment variables.
a.       User Variable: ANDROID_HOME: C:\Users\myprofile\android-sdks
b.       System Variable: Path: C:\Users\myprofile\android-sdks\tools\; C:\Users\myprofile\android-sdks\platform-tools\
Test: open command window :/> android      (opens Android SDK Manager)
6.       Install Microsoft .Net Framework ( Latest )
7.       Install Node Js (https://nodejs.org/en/download/)
8.       Connect Android Device With PC In USB Debugging Mode To Run Appium Test
a.       Settings – About Phone –Build Number ( tap 7 times)
b.       Settings – Developer Options – USB debugging – check it.
Test: Cmd:> adb devices ( this shows your mobile id)
9.       Install http://pdanet.co/ (only, if you are not able to connect to your mobile device with step 8 )

10.   Install Appium http://appium.io/