08 Aug

Appium tutorial [Steps for Windows & OSX]

Step by step guide for instaling Appium  for Windows


  1. Download Android SDK
  2. Android Setup guide: http://spring.io/guides/gs/android/
  3. Android-Sdk must be installed and ANDROID_HOME set
    1. http://developer.android.com/sdk/older_releases.html
    3. VARIABLE VALUE: C:\android_sdk\adt-bundle-windows-x86_64-20131030\sdk
    4. Open CMD and go to the location: C:\android_sdk\adt-bundle-windows-x86_64-20131030\sdk
    5. Type: android
    6. Inside AVD Manager Select the Tools checkbox.
    7. Select the checkbox for the latest Android SDK, Android 4.2.2 (API Level 17) as of this writing.
    8. From the Extras folder, select the checkbox for the Android Support Library.
    9. Click the Install packages… button to complete the download and installation.
  4. Create AVD Emulators
  5. android create avd –name Default –target “android-19” –abi armeabi-v7a
    1. –name Name of the new AVD.
    2. –target Target ID of the new AVD.
    3. –abi The CPU/ABI to use for the AVD.
  6. android list targets (displays a list of available targets)
  7. android list avd (Shows the list of virtual devices created)
  8. emulator -avd Default (Verify that emulator is working fine)

PATH: %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools



Step-by-Step Guide for Installing Appium on OS X:

Visit: http://appium.io/


Installed OSX 10.9.2 (Mavericks)

Installed XCode Version 5.1 (5B130a)

Step: 1 Install Node.js

Install Homebrew v.0.9.5 (in order to do a brew install in next step)

Install Node.js and npm with Homebrew

First, install Homebrew. Open the terminal and type:

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Then, run brew update to ensure your Homebrew is up to date.

brew update

As a safe measure, run brew doctor to make sure your system is ready to brew. Follow any recommendations from brew doctor.

brew doctor

Next, add the Homebrew location to your $PATH and source your bash or zsh profile file after adding/saving this:

export PATH=”/usr/local/bin:$PATH”

Next, install Node (npm will be installed with node):

brew install node

Step 2: Install APPIUM

run ‘npm install -g appium’

run ‘npm install wd’ (you might need to SUDO)

Now run ‘authorize_ios’

You might get this error: “error stderr maxbugger exceeded”

running again as ‘sudo authorize_ios’ but now seeing

— error: Appium will not function correctly if used under sudo. Please rerun as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn’t require sudo to install global npm packages.

 since authorize_ios does not work with sudo you needed to manually run chown on the Applications dir. Just ran this:

cd ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk’

sudo chown -R yourusername>:staff Applications

Once everything is done just type: ‘appium &’ in the terminal and it will start the Appium and you should be ready to use it.

Appium On Windows




Share this
08 Aug
08 Aug

Best Automation Tools 2016











Share this
22 Oct

© 2015 QA Programmer. All rights reserved.

Show Buttons
Hide Buttons