Setting up Automation for Android Using Appium

I personally had to navigate across various websites / blogs to check for each url/link and have to get it setup, which took me more time before i actually start working on automation stuff. That struggle made me come up with this Post.
I after writing this post just followed the below steps with to set it up and it worked fine.
I Hope this will help others navigating / searching other websites and wasting time, and this becomes like an one stop solution.

Please follow the below Steps to Setup:

Appium + Selenium + Cucumber + TestNG
  1. Install Eclipse / Intellij IDE Tool
  2. Download Java
  3. Download Android Studio
  4. Download / Install Appium now
    You can download from this url -   Or else can do it over command line:
    1. Install npm and node or Install GIT bash -   
               Note: If node is not installed , please goto the url -
           2Now open gitbash and check for "npm -v" and "node -v" (to make sure its installed)
           3. Now enter the command npm install -g appium (this will install the current version of appium)
          4. Now to start appium type in : appium -a (if successfully installed you should see the appium server starting
  5. Create Maven based Project from Eclipse now
  6. Load all the dependencies on POM.XML
    - Get the TestNG / Junit Dependency
    - Get the cucumber-html ,cucumber-core, cucumber-junit, cucumber-jvm-deps, gherkin, cucumber-testng
    - Get the selenium dependency: selenium-java, selenium-server-standalone
    - Get the appium dependency: java-client
  7. Get the Eclipse plugin added for cucumber :                                     
  8. Get the Eclipse plugin added for testng
  9. Now it all good to start writing Gherkin Language scripts to automate
  10. Make sure you have the below installed as well:
    -  Install the ADT Plugin for Eclipse (Android Studio Manager will be installed - this is needed for the supported Android API's to run with)
    -  Now once the Plugin is installed , Under Window Option in eclipse you should be able to see Android SDK Manager and Android Virtual Device Manager option
    -  Now tap on Android SDK Manager and Now this loads the Android SDK Manager window.
       Make sure you select the related API version to be installed (Like Android 6.0 API 23 -Expand and Select SDK Platform etc
       Also select Android SDK Tools, Android SDK Platform-tools
       Under Extra folder to select mandatory ones like
              > Google Play services
              > Google USB Driver
  11. Once its done goto Your Control panel and look for Advanced System Settings and Select Environment - Add JAVA_HOME Path ex: would be "C:\Program Files\Java\jdk1.8.0_131\bin"
     - Add Android_HOME Path ex: "C:\Users\AppData\Local\Android\sdk\"
     - Include "C:\Users\android-sdks\platform-tools" in the Path variable as well - This allows you to work with adb commands
    - Now in the same environment , select Path variable and append the above two paths into it (BE CAREFUL WHILE DOING THIS, Make sure u copy the existing path before appending anything so that you don't miss out the existing one)
  12. Now open cmd / terminal window and type in : adb (if its installed sucessfully it should throw u the version)


  1. This comment has been removed by the author.

  2. Android is operating on a very large base of mobile devices, this is why businesses often look for companies that are versed in developing Android applications. As a company providing Android Application Development Services in Dubai, I am glad to come across this blog. Thanks for sharing.

  3. It's a decent post, Which you have shared here. Your blog is enlightening and I truly loved the manner in which you communicated your perspectives in this post. Thank you for sharing such blogs. Affordable ADT Home Security Systems package USA

  4. Selenium is a popular and widely used automation tool. I appreciate the writers efforts in writing this informed article. As someone regularly working with Selenium and providing Selenium Training Institute in Chennai, I am glad to come across this. Thank you for sharing this tutorial.

  5. I have gone through your post and i found it very helpful. Please do share such kind of interesting post. Otherwise if any One Want Java Training with 30% off So Contact Here-9311002620

    Job Oriented Complete JAVA Training Course

  6. Very interesting. Your article is so convincing that I can never stop myself from saying anything about it. You are doing a great job, thanks for sharing such a great blog. Best Online Software Training Institute In Hyderabad

  7. You are providing good knowledge. It is really helpful and factual information for us and everyone to increase knowledge. Continue sharing your data. Thank you. Certified Language Courses Online for beginner

  8. Your contents are completely awesome and share worthy. I really appreciate your efforts that you put on this. Keep sharing. For more RPA Service Providers India related information visit Webuters Technologies Pvt. Ltd.

  9. I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Android apps


  10. I agree so much. we should all be reinforcing positive feedback within the comment sections. So many good points to take into consideration.
    When people have good things to say about my web site Prasoon Kumar Arya it really makes positive impact.

  11. This comment has been removed by the author.

  12. I'd like to express my gratitude for sharing such an excellent article. The article is instructive because it offers some useful information. Thank you for sharing it with us. Continue to post. Certified Magento Developer

  13. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read. Best Scada in Abu Dhabi service provider.

  14. Infycle Technologies, the No.1 software training institute in Chennai offers the No.1 Big Data Hadoop Training in Chennai | Infycle Technologies for students, freshers, and tech professionals. Infycle also offers other professional courses such as DevOps, Artificial Intelligence, Cyber Security, Python, Oracle, Java, Power BI, Selenium Testing, Digital Marketing, Data Science, etc., which will be trained with 200% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7502633633 to get more info and a free demo.

  15. Thanks for taking your valuable time to share this awesome article with us. This is really informative. Looking forward to learn more from you.
    Cloud Computing Training in Chennai
    Cloud Computing Online Training
    Cloud Computing Course in Coimbatore

  16. The information you've provided is quite useful about Job Oriented Vlsi Training. It's incredibly instructional because it provides some of the most useful information. Thank you for sharing that.

  17. You have written impressive articles on Android application development, I really commend your work. Thanks for posting it. Keep sharing your valuable knowledge and expertise. Looking forward to learn more, great blog. Top Android App Development Agency in USA

  18. Thanks for your post. It's very helpful post for us. You can also visit Android Application Development Company Dubai for more Victor Steel related information. I would like to thanks for sharing this article here.

  19. This comment has been removed by the author.

  20. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. I hope you post again soon. Big thanks for the useful info. Top Android App Development Agency in USA

  21. This post is really awesome. Genuinely i like this blog. It gives me more useful information. I hope you share lots of things with us .Biometric Punching Mechine Solutions Dubai

  22. Get the best Oracle Training in Chennai from Infycle Technologies, one of the excellent Software Training Institute in Chennai. Great place to study Oracle and we also provide all technical courses like Oracle, Java, Data Science, Big data, AWS, Python, etc. with the best trainers receiving the amazing training for the best career. For more details and demo classes call 7504633633.

  23. I am attracted by the presentation of this article. It is a genuinely a gainful article for us. Keep posting, Thank you.Mobile App Development


  24. I explore your all post and found some great information which is definitely useful for me in the future.
    herefor all students on here we have an all assignment service to help you guys to complete their assignment WEB Designing Services in chandigarh

  25. Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve an undertaking that I am simply now operating on, and I have been looking for such application development company uae

  26. Extremely useful information which you have shared here. This is a great way to enhance knowledge for us, and also helpful for us. Thankful to you for sharing an article like this full stack development company in usa

  27. Merkur 37C Safety Razor Review – Merkur 37C
    The Merkur 37c is an excellent short handled DE safety razor. It is more suitable for aprcasino both heavy and non-slip hands and is deccasino therefore a great option for experienced


  28. خرید و فروش آهن آلات

    خرید و فروش انواع آهن الات شامل لوله ، نبشی ، ناودانی ، ورق ، پروفیل ، تیر آهن ، استیل ، فولادهای آلیاژی ، میلگردهای صنعتی توسط آهن استقلال

    خرید و فروش آهن آلات


  29. Online Reputation Management Tool

    QuickMetrix is a social media listening tool that allows you to monitor and analyze social media conversations about your brand, industry, competitors, and more. It provides real-time insights and analytics, allowing you to track sentiment, engagement, reach, and other metrics across various social media platforms like Facebook, Twitter, Instagram, and LinkedIn.

    QuickMetrix can help you identify trends, understand your audience, measure the effectiveness of your social media campaigns, and make data-driven decisions. It offers features such as sentiment analysis, influencer identification, competitive analysis, crisis management, and reporting.

    Overall, QuickMetrix is a useful tool for businesses that want to stay on top of social media conversations and optimize their social media strategy for better engagement and ROI.


Post a Comment

Popular Posts