Articles → SELENIUM → Installation Steps For Selenium
Installation Steps For Selenium
Prerequisite
Click to Enlarge
Setting Up The Environment
- Download and install JDK
- Setting up the environment variables.
- Download selenium web driver
- Download and set-up of eclipse
- Install TestNG
Download And Install JDK
- Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Go to ‘Java SE Development Kit 8u121’ table.
- Click on ‘Accept License Agreement’ radio button
- 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).
Click to Enlarge
- Once you click on the exe file, it goes downloaded on your machine.
Setting Up The Environment Variables
- Go to control panel and click on ‘Edit the system environment variables’
Click to Enlarge
- A system properties pop up will come as shown in figure below.
Click to Enlarge
- Click on ‘Environment Variables…’. Following window appears
Click to Enlarge
- Click on ‘New…’ button.
- A pop up window appears as shown in figure below
Click to Enlarge
Variable Name | Variable Value |
---|
JAVA_HOME | C:\Program Files\Java\jdk1.8.0_121 |
PATH | %JAVA_HOME%\bin |
Download Selenium Web Driver
- Go to http://www.seleniumhq.org/download/
- Download 3.2.0 version (see the figure below)
Click to Enlarge
Download And Set-Up Of Eclipse
- Go to the URL - http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-win32-x86_64.zip
- A zip file gets downloaded on your system.
- Unzip the file and double click on eclipse.exe to install.
- 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.
- Once the eclipse is installed, a welcome message screen will appear. Close the screen.
- On the top right hand side, check the default perspective.
Click to Enlarge
Click to Enlarge
Install Testng
- Go to eclipse.
- Go to help and click on ‘Install new software’.
- In ‘Work with’ section, enter this URL - http://beust.com/eclipse
Click to Enlarge
- Press Enter.