Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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.

share|improve this question
    
Is there something missing from the documentation that you need to know? appium.io/slate/en/v1.2.0/?ruby#toc_0 –  thebeekeeper Jul 21 at 18:13
    
I was searching for step by step procedure to configure Appium on a Mac machine. Is there any source available? –  STE Jul 23 at 11:33

1 Answer 1

While working on several projects I've described the following procedure to install Appium:

  1. Download Android SDK
    https://developer.android.com/sdk/index.html

  2. Extract Android SDK to /usr/local/adt/
    unzip -qo adt-bundle-*.zip -d /usr/local/adt

  3. Set ANDROID_HOME and JAVA_HOME environment variables
    export JAVA_HOME=$(/usr/libexec/java_home)
    export ANDROID_HOME=/usr/local/adt/sdk

  4. 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

  5. Install Android build and platform tools
    $ANDROID_HOME/tools/android update sdk --no-ui --obsolete --force

  6. Goto some directory and get Appium framework
    git clone https://github.com/appium/appium.git

  7. Configure Appium for Android
    cd appium
    ./reset.sh --android --selendroid --verbose

  8. Start Appium server with
    node .


Feel free ask me if you any issues.

share|improve this answer
    
I have configured settings until step.5. Can you guide me on how to configure the settings for android in appium. dropmocks.com/mGf82g. I want to run the test on a real device(Nexus 4). Thanks for the help. –  STE Jul 24 at 16:37
    
Your Appium configuration looks fine at first sight. What problem do you face? P.S. Please remember, that Appium is just a server, you initiate test run from test code, and can change configuration/capabilities there as well. –  Dmitry Cheremushkin Jul 26 at 16:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.