Saturday, 1 February 2014

Configuring Webdriver with Eclipse



·         Configuring Web driver
1.       Open the eclipse
2.       Go to File-> New->Java Project
3.       Specify the name of the project as below   (WebDriver_Project)
4.       Click on Next, it will show the following page


5.       Click on Libraries and then Add External Jars


6.       It will navigate you to browse the Jars file which are downloaded from http://docs.seleniumhq.org/download/ ,  You can always find the latest drivers at the below page

7.       Download latest Java binaries by clicking on Download link ,Save ant extract them
8.       Browse the Jar files by opening the above downloaded folder as below :

Eg: D:\Rajendra\selenium-java-2.30.0\selenium-2.30.0\libs
Eg: D:\Rajendra\selenium-java-2.30.0\selenium-2.30.0\
1. Add the jar files from Libs folder:

 Select all and Click Open, then it adds all the JAR files in build path
2. Follow the above steps and add the Jar files from selenium-2.30.0

9.       Click on Finish
Congratulations...Now your setup is ready.


No comments:

Post a Comment