Upload
hanhan
View
226
Download
0
Embed Size (px)
Citation preview
STEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL
Go to Eclipse folder and click eclipse application.
Click file -> New -> Java Project
Enter the Project Name and Click Next
Click on Libraries Tab and Click Add External JARs button
STEPS TO DOWNLOAD JAR FILES FOR SELENIUM WEB DRIVER JAVA.
Open the browser go to google search engine and type download selenium webdriver for java in the text field then click the download-selenium link
Click download button and extract the file, in that file we hava the jar files for execute the java scripts for selenium webdriver programs
Click it
Click it
Go to eclipse window and Browse the Selenium jar file from where we downloaded and kept extracted files.
Select all the jar file in the Lib and click open button for add it to our project
Click Finish button
Create new package under our project in that create the java class for writing the test scripts for testing the application. Right Click on the project name(selenium example)-> new-> Package
Enter the Package Name and click Finish Button
Right Click on the Package Name(sample)-> New -> Class
Enter the Class Name and tick on the public static void main to add in the program and click finish button.
Click on the .java class file and type your code.
To Run the application by Right Click the Project Name -> Run As- > Java Application
Choose your package and Class file
Automatically Google page will be redirected according to the code.