Mobile QA

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
    http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunasr1
  2. Download Java
    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  3. Download Android Studio
    https://developer.android.com/studio/preview/index.html
  4. Download / Install Appium now
    You can download from this url - http://appium.io/   Or else can do it over command line:
    1. Install npm and node or Install GIT bash - https://git-for-windows.github.io/ 
           2Now open gitbash and check for npm -ver and node -ver (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 127.0.0.1 (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
    https://marketplace.eclipse.org/content/cucumber-jvm-eclipse-plugin
  8. Get the Eclipse plugin added for testng
    https://marketplace.eclipse.org/content/testng-eclipse
  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)
    https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html
    -  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)

Comments

  1. A very useful blog to every. Really it is easy to understand.
    Great job. Keep posting the updates.
    selenium training
    selenium course
    selenium testing training

    ReplyDelete
  2. 7 tips to start a career in digital marketing

    “Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.

    we have offered to the advanced syllabus course digital marketing for available join now

    more details click the link now

    [url]https://www.webdschool.com/digital-marketing-course-in-chennai.html[/url]

    ReplyDelete

  3. Web designing trends in 2020

    When we look into the trends, everything which is ruling today’s world was once a start up and slowly begun getting into. But Now they have literally transformed our lives on a tremendous note. To name a few, Facebook, WhatsApp, Twitter can be a promising proof for such a transformation and have a true impact on the digital world.

    we have offered to the advanced syllabus course web design and development for available join no

    more details click the link now

    [url]https://www.webdschool.com/web-development-course-in-chennai.html[/url]

    ReplyDelete

Post a Comment

Popular Posts