top of page

Appium initial setup on windows

Updated: Apr 28, 2020

  1. Download PDANet+

  2. Download Node JS.

  3. Download Java JDK.


Set Up Java Environment System Variable/Path:


Step 1: Set up JAVA_HOME Variable


  1. Right-clicking on ‘My Computer’ and choosing Properties.

  2. Choose ‘Advanced system settings‘.

  3. Under the Advanced tab Choose the ‘Environment Variable…‘ option.

  4.  Select New under System variables.

  5.  Define the Variable name as ‘JAVA_HOME‘ and Variable value as ‘C:\Program Files\Java\jdk1.8.0_45 (for this example JDK version 1.8.0 was installed in ‘C:\Program Files\Java\jdk1.8.0_45‘ folder; if needed, modify the real location).


Step 2: Set the PATH Variable


  1. Now we need to specify the location in the PATH variable. For PATH, most probably it will already exists in your machine. So just select it and choose the Edit option.

  2. In the editor add the value ‘;%JAVA_HOME%\bin‘ or ‘;C:Program Files\Java\jdk1.8.0_191\bin‘. 

  3. To check open cmd. Type ‘java -version‘. 


4. Install Android SDK


After downloading above install SDK & install following packages:

  1. Respective Android Version packages (ex: Android 6.0 ‘API 23’)

  2. Android SDK Build-tools

  3. Android SDK Platform-tools

  4. Google Web Driver


b) Set Environment Variables:

1. Open Environment variable dialog, then under the User Variable table, click New.

2. Put ANDROID_HOME as variable name and provide the path of the SDK folder next to Variable value and click OK.

3. Go to the folder where SDK has been installed.

4. Inside the SDK folder look for ‘tools’ and ‘platform-tools’ folder.

5. Copy the path for both tools and platform-tools.

6. Open ‘Environment Variables’ dialog box.

7. Go to System Variables table and locate the Path variable.

8. Select path and click on Edit.

9. Add the ‘tools’ and platform-tools’ folder’s full path, as shown below.


5. Now Lets Setup Ecllipse:


Install Ecllipse add following from Eclipse MarketPlace:


  1. Test NG

  2. Android Development Tools for Eclipse

  3. Android for Maven Eclipse 1.4.0


6. Download Appium Server


7. Download Maven


After downloading configure Maven environment variables.

1. Open Environment variable dialog, then under the System variables, click New.

2. Put M2_HOME as variable name and provide the path of the Maven folder in variable value and click OK.

3. Now edit Path variable and add following path "%M2_HOME%\bin.


**************************************************************************

That’s it finally Appium has been Set up 🙂

28 views0 comments

Comments


bottom of page