Appium Installation

One of my favorite automation testing tool, this tool helps us to automate mobile application such as native apps, web apps, and hybrid apps.  I’d biggest challenge when started installing the appium package on a mac machine, this installation steps may be changed whenever the OS version or dependencies changes. Please feel free ping me through FB messenger, I can happy to help you or learn from new challenges [my online 8 pm to 10 pM Eastern time]

Mac Machine 

Presteps :

  • Install the XCode for iOS Apps Automation
  • Install the Android Studio for Android Apps Automation
  1. Install Homebrew. 

    When , 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 doctor 

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

  2. Install Node.js
  3. brew install node

  4. Appium Installation :

    run npm install -g appium

    1. Appium -version command will help to check your version.
  5. npm install appium-xcuitest-driver
  6. npm install wd
    1. if you want to start the Appium use this terminal  appium

touch ~/.bash_profile;

SP:Users SP$ open ~/.bash_profile

  • export ANDROID_HOME=/Users/***USER***/Library/Android/sdk
  • export PATH=$ANDROID_HOME/platform-tools:$PATH
  • export PATH=$ANDROID_HOME/tools:$PATH
  • export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
  • export PATH=$JAVA_HOME/bin:$PATH
  • export M2_HOME=/usr/local/apache-maven/apache-maven-3.3.1/bin:$PATH
  • export PATH=$PATH:$M2
  • export M2=$M2_HOME/bin
  • export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:

<!– https://mvnrepository.com/artifact/io.appium/java-client –>
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>4.1.2</version> **// Always check the stable version
</dependency>

 

For Windows machine :

  1. Download the latest node and NPM
    1.  npm & node.js should be setup on the path environment variable setup.
    2. Run the command npm install -g appium
    3. Check the version appium -v
  2. To start Appium, you can now simply run appium from the prompt.
  3. Follow the directions below for setup for either Android or Windows app testing.
  4. Run a test from any Appium client.

Source reference:

http://appium.io/downloads.html

https://discuss.appium.io/

www.appium.io

https://gitter.im/appium/appium

https://github.com/appium/

16 thoughts on “Appium Installation

  1. Awesome things here. I’m very glad to peer your article.

    Thanks so much and I’m looking forward to touch you. Will you kindly drop me a mail?

  2. Excellent beat ! I wish to apprentice while you amend your
    site, how can i subscribe for a blog site? The account aided
    me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  3. Hi, i read your blog from time to time and i own a similar one and
    i was just wondering if you get a lot of spam remarks? If so how do you prevent it, any plugin or anything
    you can suggest? I get so much lately it’s driving me crazy so any
    assistance is very much appreciated.

  4. Hi there! I just wish to give you a big thumbs up for your excellent info you’ve got right here on this post.

    I am coming back to your website for more soon.

  5. We are a group of volunteers and starting
    a new scheme in our community. Your site
    offered us with valuable information to work on. You have done an impressive job and our whole
    community will be thankful to you.

  6. Greetings! I know this is kinda off topic but I was wondering which blog platform
    are you using for this website? I’m getting tired of WordPress because I’ve had issues with hackers and I’m looking at alternatives
    for another platform. I would be awesome if you could point me in the direction of a good platform.

  7. This website was… how do you say it? Relevant!!
    Finally I’ve found something which helped me. Thanks!

  8. Unquestionably consider that that you said. Your favorite reason appeared to be at the internet
    the easiest thing to have in mind of. I say to you, I definitely get irked whilst people consider issues that they just do not recognise about.
    You controlled to hit the nail upon the highest and outlined out the whole
    thing with no need side-effects , people can take a signal.
    Will probably be again to get more. Thank you

  9. Hi there mates, how is everything, and what you would like to say about this article, in my view its truly awesome designed for me.

  10. Hey would you mind stating which blog platform you’re using?

    I’m going to start my own blog in the near future but I’m having a
    difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design and style seems different then most blogs and I’m looking for
    something unique. P.S Sorry for getting off-topic but I had to ask!

  11. Hey! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having trouble
    finding one? Thanks a lot!

  12. Howdy! This post could not be written any better! Reading this post reminds
    me of my good old room mate! He always kept chatting about this.
    I will forward this write-up to him. Fairly certain he will have a good read.
    Many thanks for sharing!

Leave a Reply

Your email address will not be published.