Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install appium in windows, once its downloaded npm?

Tags:

appium

I have downloaded requirements (appium, npm, sdk, gi) for appium installation but how to install them to make it run on andriod device.

it would great help if you provid the step by step procedure to install.

thankyou.

RAM

like image 274
Ramesh Lingala Avatar asked Oct 20 '22 15:10

Ramesh Lingala


1 Answers

Download Necessary Files

  1. Eclipse Standard: http://www.eclipse.org/downloads/packages/eclipse-standard-43/keplerr (ie eclipse-standard-kepler-R-win32-x86_64.zip)
  2. Appium for Windows: http://appium.io/ (ie AppiumForWindows-0.10.1.zip)
  3. Selenium WebDriver 2.0 (Java Client): http://selenium.googlecode.com/files/selenium-java-2.35.0.zip
  4. JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html (ie jdk-7u40-windows-x64.exe)
  5. Android SDK Tools (ADT Bundle for Windows: http://developer.android.com/sdk/index.html (ie installer_r22.2.1-windows.exe)

Installation

  1. Unzip the Downloaded Files
  2. Create a new folder, C:\AppAutomation and Extract the downloaded files to, C:\AppAutomation
  3. Install the Java Development Kit
  4. NAVIGATE to where the JDK executable has been downloaded
  5. Install the JDK by DOUBLE-CLICKING the executable and following through installation wizard
  6. Install the Android Development Tools Bundle for Windows
  7. NAVIGATE to where the ADT executable has been downloaded and Install the ADT by DOUBLE-CLICKING the executable and following through installation wizard
  8. When Eclipse restarts, it may complain about missing tools. CLICK OK
  9. AVD Manager will load, CHECK Tools in the Name column and follow through with install Configure Eclipse and Sample Project
  10. Navigate to the folder where you extracted Eclipse to DOUBLE-CLICK “C:\AppAutomation\eclipse\eclipse.exe” CLICK “OK” to work space popup Install TestNG
  11. CLICK “Install New Software…” under “HELP” in the Main Menu
  12. INPUT “http://beust.com/eclipse” in the Work with input box
  13. CLICK Add… CHECK TestNG in the Name column CLICK Next, Agree to all the terms, CLICK Finish when wizard completes installation.

Install Android ADT

  1. CLICK “Install New Software…” under “HELP” in the Main Menu
  2. INPUT “https://dl-ssl.google.com/android/eclipse/” in the Work with input box CLICK Add… CHECK Developer Tools in the Name column
  3. CLICK Next, Agree to all the terms, CLICK Finish when wizard completes installation. Create Sample Project
  4. CLICK File > New > Java Project from the main menu
  5. INPUT “Sample Project” for a project name CLICK Finish

Add Selenium JAR References

  1. In the Package Explorer, RIGHT-CLICK on the newly created project, “Sample Project”
  2. CLICK Configure Build Path… under Build Path in the context menu CLICK Add External JARS…
  3. In the JAR Selection dialog, NAVIGATE to the directory where Selenium has been extracted to (ie C:\AppAutomation\selenium-2.35.0) SELECT all JARs in the selenium home folder
  4. CLICK Open
  5. CLICK Add External JARS… to add remaining JARs
  6. In the JAR Selection dialog, NAVIGATE to the Selenium\libs directory (ie C:\AppAutomation\selenium-2.35.0\libs)
  7. SELECT all JARs in the selenium libs folder
  8. CLICK Open CLICK OK

I think that’s it…

Next Step… Create a sample script…

like image 120
Adnan Ghaffar Avatar answered Oct 24 '22 00:10

Adnan Ghaffar