Selenium Setup with Eclipse

In this tutorial we will install Selenium WebDriver with Eclipse

Setup :

      1. Install Java on your computer
      2. Eclipse Installation
      3. Adding Selenium Jars in Eclipse

Install Java on your computer:

     Download and install the Java Software Development Kit (JDK) here

Click on Java then selected the accept license radio button and click on jdk jar file according to your operating system.

Set the JAVA_HOME Variable

To set the JAVA_HOME variable:

  • Locate the Java installation directory(If you didn't change the path during installation, it'll be something like C:\Program Files\Java\jdk1.8.0_65
  • Do one of the following:
  1. Windows 7 – Right click My Computer and select Properties > Advanced
  2. Windows 8 – Go to Control Panel > System > Advanced System Settings
  • Click the Environment Variables button
  • Under System Variables, click New
  • In the Variable Name field, enter name as "JAVA_HOME"
  • In the Variable Value field, enter your JDK or JRE installation path 
  • Click OK and Apply Changes

Install Eclipse :

Download "Eclipse here and choose correctly between Windows 32 Bit and 64 Bit versions.

Add Selenium Jars into Eclipse:

Download Selenium Latest Jars from here .


Open Eclipse =>> Create a JAVA project =>> Right click on Java Project src folder =>> Click on "Build Path" =>> Click on configure Build path =>> Add Libraries =>> Add external Jars =>> Add all jars of selenium




Copyright © 2017 qatoolsguide.blogspot.com || ALL RIGHTS RESERVED