1. Create a Project in Eclipse IDE
1. Install Eclipse IDE as explained in Post#14 Install Eclipse IDE
2. Launch Eclipse IDE as explained in Post#15 Launch Eclipse IDE
3. Create a Project in Eclipse IDE as explained in Post#16 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:
1. Install Eclipse IDE as explained in Post#14 Install Eclipse IDE
2. Launch Eclipse IDE as explained in Post#15 Launch Eclipse IDE
3. Create a Project in Eclipse IDE as explained in Post#16 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:
2. Ensure 'New
Folder' dialog is displayed, specify the folder name as 'lib' and click on
'Finish' button 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:
5. Open the
Extracted Folder and ensure that the following files exists 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:
10. Copy the
displayed Jar files as shown below:
11. In Eclipse IDE, select 'lib' folder and paste the copied .jar files as shown below:
12. Ensure that all the copied .jar files got pasted as shown below:
3. Configuring the copied JAR files in Eclipse IDE:
a. Right click on the Project and select 'Properties' option as shown below:
b. In 'Properties for Project' dialog, select 'Java Build Path' option as shown below:
c. Select 'Libraries' tab as shown below:
d. Click on 'Add JARs' butt under the 'Libraries' tab as shown below:
e. In 'JAR Selection' dialog, select the all the JAR Files copied under 'lib' folder and click on 'OK' button as shown below:
f. 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.
No comments:
Post a Comment