file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse...

10
STEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL Go to Eclipse folder and click eclipse application. Click file -> New -> Java Project

Transcript of file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse...

Page 1: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

STEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL

Go to Eclipse folder and click eclipse application.

Click file -> New -> Java Project

Page 2: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

Enter the Project Name and Click Next

Click on Libraries Tab and Click Add External JARs button

Page 3: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

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

Page 4: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

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

Page 5: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

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

Page 6: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

Enter the Package Name and click Finish Button

Right Click on the Package Name(sample)-> New -> Class

Page 7: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

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.

Page 8: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

To Run the application by Right Click the Project Name -> Run As- > Java Application

Choose your package and Class file

Page 9: file · Web viewSTEPS TO DOWNLOAD AND WORK WITH SELENIUM WEB DRIVER TOOL. Go to Eclipse folder and click eclipse application. Click file -> New

Automatically Google page will be redirected according to the code.