Saturday, December 22, 2018

Tools Setup on Windows

This post contains the setup details of tools installation on Windows which require at the time of automation (Web, Mobile or API) configuration. This post covers following tools -
  • Java Installation
  • Maven Installation
  • Ant Installation
  • Node Installation
  • Appium Server Installation

Java Installation
-----------------------------------------------------------------------------------------------

1) Download Java installer from the site (https://www.oracle.com/technetwork/java/javase/downloads/index.html).
2) Double click on the installer. Shows below screen

2) Click on Next Button. Shows below screen - 

3) Set the installation path or use the default one. Click on Next button

4) Click on Next button to install JRE

5) Click on Next button

6) Click on Close button to complete the installations


JDK Path (JAVA_HOME) Setup
------------------------------------------
1) Right click on Computer and select Properties
2) Click on “Advanced System Settings”
3) Under Advanced, Click on “Environment Variables” button
4) Create a new System variables “JAVA_HOME”  and set the JDK path

5) Set the java executable in PATH variable

6) Verify the java version installed


Maven Installation
--------------------------------------------------------------------------------------------------------
1) Maven (apache-maven-3.6.0-bin.zip)  from site - https://maven.apache.org/download.cgi
2) Unzip it to the folder you want to install Maven. Assume you unzip to this folder –
             D:\Applications\apache-maven

3) Set the M2_HOME or MAVEN_HOME

4) Update PATH variable, append Maven bin folder – %M2_HOME%\bin, so that you can run the Maven’s command everywhere

5) Verify Maven Installation


Ant Installation
----------------------------------------------------------------------------------------------------------------
1) Download Maven (apache-ant-1.9.13-bin.zip)  from site - https://ant.apache.org/bindownload.cgi
2) Unzip it to the folder you want to install ANt. Assume you unzip to this folder – 
          D:\Applications\apache-ant

3) Set the ANT_HOME

4) Update PATH variable, append Maven bin folder – %ANT_HOME%\bin, so that you can run the Ant’s command everywhere
5) Verify Ant installation

Node Installation
-----------------------------------------------------------------------------------------------------------------
1) Download NodeJS (https://nodejs.org/en/download/). The latest version is v10.14.1
2) Double click on the msi file and start installation

3) Click on Next button

4) Accept License Agreement and click on Next button


5) Set the installation path and click on Next

6) Click on Next button

7) Click on Install button

8) Click on Finish to complete the installation

9) Verify the installation (Check the version of node & npm)


Appium Server Installation
--------------------------------------------------------------------------------------------------------------
1) Java should install on the system and JAVA_HOME path should be set
2) Node should install on the system. See the section “Node Installation” for more details
3) Open command prompt and execute the command –
                                 npm install –g appium
4) Appium installation starts


5) Verify the installation. Current version is 1.10.0




3 comments:

  1. This was really helpful. Thanks Dhirendra!!

    ReplyDelete
  2. Really helpful for step by step information for the installation at one place.

    ReplyDelete
  3. Really helpful blog

    ReplyDelete