Tuesday, July 17, 2012

Steps to Install, setup or Configure Selenium

Following are the steps to configure/install Selenium in Eclipse(Java)

Note 1- Make sure you have  Java Runtime Environment (JRE) installed on your machine. Otherwise download it from http://java.com/en/download/index.jsp


Note 2 - If eclipse is not installed on your machine, download it from http://www.eclipse.org/downloads/. Click on Eclipse IDE for Java EE Developers.

1. Go to URL - http://seleniumhq.org/download/

2. From the section - Selenium Client Drivers, Click on the Download link of Java. A zip file will be downloaded, Extract the file.

3. Next, Open Eclipse -> Click on File -> New -> Project -> Java Project(Give it a name ex- install_selenium. Click on 'Next' and 'Finish'


4. Right click on Project name from the left toolbar(ex- install_selenium) -> Click on Properties -> Click on 'Java Build Path' from the left menu. Click on 'Libraries' from the top menu -> Click on 'Add External JARs' -> Browser and add all the selenium JARs files from the downloaded Selenium folder.


5. Click on OK.

Selenium is installed/configured.

Thanks



No comments:

Post a Comment