Articles → SELENIUM → Installation Steps For Selenium

Installation Steps For Selenium


Picture showing the java version installed on the machine
Click to Enlarge

Setting Up The Environment

  1. Download and install JDK
  2. Setting up the environment variables.
  3. Download selenium web driver
  4. Download and set-up of eclipse
  5. Install TestNG

Download And Install JDK

  1. Go to
  2. Go to ‘Java SE Development Kit 8u121’ table.
  3. Click on ‘Accept License Agreement’ radio button
  4. Click on 'jdk-8u121-windows-x64.exe' (if you have 64-bit operating system) or 'jdk-8u121-windows-i586.exe' link (if you have 32-bit operating system).
  5. Picture showing the list of JDK to be downloaded based on the operating system
    Click to Enlarge

  6. Once you click on the exe file, it goes downloaded on your machine.

Setting Up The Environment Variables

  1. Go to control panel and click on ‘Edit the system environment variables’
  2. Picture showing the environment variables options in the control panel
    Click to Enlarge

  3. A system properties pop up will come as shown in figure below.
  4. Picture showing the pop up of System Properties
    Click to Enlarge

  5. Click on ‘Environment Variables…’. Following window appears
  6. Picture showing the window with the list of environment variables
    Click to Enlarge

  7. Click on ‘New…’ button.
  8. A pop up window appears as shown in figure below
  9. Picture showing the window to add new environment variable
    Click to Enlarge

Variable NameVariable Value
JAVA_HOMEC:\Program Files\Java\jdk1.8.0_121

Download Selenium Web Driver

  1. Go to
  2. Download 3.2.0 version (see the figure below)
  3. Picture showing the web page to download selenium
    Click to Enlarge

Download And Set-Up Of Eclipse

  1. Go to the URL -
  2. A zip file gets downloaded on your system.
  3. Unzip the file and double click on eclipse.exe to install.
  4. Once you double click on eclipse, a window appears asking you to provide workspace. You may create a folder in any directory as per your convenience. You may need this folder to select workspace. Click OK.
  5. Once the eclipse is installed, a welcome message screen will appear. Close the screen.
  6. On the top right hand side, check the default perspective.
  7. Picture showing the eclipse IDE with the default perspective
    Click to Enlarge

Picture showing an option to change the default perspective
Click to Enlarge

Install Testng

  1. Go to eclipse.
  2. Go to help and click on ‘Install new software’.
  3. In ‘Work with’ section, enter this URL -
  4. Picture showing an option to install TestNG
    Click to Enlarge

  5. Press Enter.

Posted By  -  Karan Gupta
Posted On  -  Thursday, March 23, 2017


Your Email Id  
Query/FeedbackCharacters remaining 250