Setup appium for Android on Mac osx



  • I am new to mobile testing. I want to configure appium for testing android applicaiton on Mac machine. Can someone provide the steps to do. And I want to using with selenium webdriver using Java.



  • While working on several projects I've described the following procedure to install Appium: Download Android SDK https://developer.android.com/sdk/index.html Extract Android SDK to /usr/local/adt/ unzip -qo adt-bundle-*.zip -d /usr/local/adt Set ANDROID_HOME and JAVA_HOME environment variables export JAVA_HOME=$(/usr/libexec/java_home) export ANDROID_HOME=/usr/local/adt/sdk Add ANDROID_HOME and JAVA_HOME to sh profile (in order not to set them every time) echo "export JAVA_HOME=$(/usr/libexec/java_home)" >> ~/.bash_profile echo "export ANDROID_HOME=/usr/local/adt/sdk" >> ~/.bash_profile Install Android build and platform tools $ANDROID_HOME/tools/android update sdk --no-ui --obsolete --force Goto some directory and get Appium framework git clone https://github.com/appium/appium.git Configure Appium for Android cd appium ./reset.sh --android --selendroid --verbose Start Appium server with node . Feel free ask me if you any issues.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2