Selenium Environment Setup

Selenium is an open-source tool to automate the web and mobile applications.  In order to automate applications, need to configure the setup. It involve following steps:

  1. Download and Install Java Development Kit (JDK)
  2. Download and configure eclipse
  3. Setup Java Environment Variable Path


Download and Install Java Development Kit (JDK)

  1. Visit the URL:
  2. Click on  “JDK Download”
Download JDK

3. Click on “Accept Licence Agreement”  radio button and select JDK according to the operating system

Licence Agreement

4. As soon as download completes, double click on the exe file to run the installer

5. Now, click on next button

Installation Wizard

6. Read the feature description and click on “next” button for this screen also

JDK feature Wizaed

7. After installation, the popup appears where user can change the location of the installed folder. Click next

Java custom setup

8. JDK installed successfully

JDK Kit installed

Download and Install Eclipse

  1. Visit the URL and click on “download 64bit”
Download esclipse

2. As soon as download completes, extract the contents by un-zipping it

3. Now, user can change the location of the extracted folder. Click extract     

Extract Files

4. Now, open the installed eclipse folder and run eclipse.exe file residing in eclipse folder

5. Eclipse will launch

Launching Eclipse

Setup Java Environment Variable Path

1. Open My computer> right click and select Properties> choose Advanced System Settings from left container

2. Click on Environment variables button under “Advanced” tab

3. Tap on New button from System Variables

Environment Variable Wizard

4. Enter the variable name as: “JAVA_HOME” and variable value as path of your installed JDK folder (for example:  C:\Program Files\Java\jdk1.8.0_151) and click ok


System Variable

5. To set Path variable, click on “Edit” from System Variables and enter variable value as ;%JAVA_HOME%\bin‘ or ‘;C:Program Files\Java\jdk1.8.0_45\bin” and click ok

6. To verify variables has been set correctly, run the command “java -Version” in command prompt

Command prompt

Here, the installation gets completed and now we are all ready to automate applications!! 😊

Related Posts

Leave a comment