1. Create a Project in Eclipse IDE
1. Install Eclipse IDE as explained in Post#8 Install Eclipse IDE
2. Launch Eclipse IDE as explained in Post#9 Launch Eclipse IDE
3. Create a Project in Eclipse IDE as explained in Post#10 How to create Projects in Eclipse IDE
2. Adding Java Client Drivers (i.e. .jar files) in the 'selenium-java-x.xx.x' extracted folder to the Project created in Eclipse IDE:
1. Right click on the Project and select 'New' -> 'Folder' option as shown below:
3. Ensure whether 'lib' folder got created as shown below:
4. Go the Folder where we have extracted the 'selenium-java-2.32.0.zip' folder in our previous post as shown below:
6. Copy the two displayed Jar files as shown below:
7. In Eclipse IDE, select 'lib' folder and paste the copied .jar files as shown below:
8. Ensure that all the copied .jar files (i.e. two jar files) got pasted as shown below:
9. Now open the 'libs' folder and ensure that the following Jar files exists as shown below:
11. In Eclipse IDE, select 'lib' folder and paste the copied .jar files as shown below:
9. Ensure that all the copied .jar files got pasted as shown below:
3. Configuring the copied JAR files in Eclipse IDE:
1. Right click on the Project and select 'Properties' option as shown below:
2. In 'Properties for Project' dialog, select 'Java Build Path' option as shown below:
3. Select 'Libraries' tab as shown below:
4. Click on 'Add JARs' butt under the 'Libraries' tab as shown below:
5. In 'JAR Selection' dialog, select the all the JAR Files copied under 'lib' folder and click on 'OK' button as shown below:
6. Ensure that all the JAR files got added in the properties dialog and click on 'OK' button as shown below:
Thats it !!! Now you have configured your project with all the JAR files that are required for working with Selenium WebDriver Code.
Please comment below to feedback or ask questions.
Is Selenium Server required by Selenium WebDriver ? will be explained in the next post.