Ripon Al Wasim
Ripon Al Wasim

Reputation: 37826

How to use WebDriver with Java in eclipse

I am using Selenium RC, TestNG, Java with Eclipse. I want to use WebDriver.

How can I use it? Which jar file will be added in eclipse as external jar file?

Upvotes: 0

Views: 935

Answers (3)

Mike
Mike

Reputation: 2153

Please look at my step by step guide at http://scraping.pro/how-to-use-selenium-webdriver-with-java/. It explains how to build a java program that uses WebDriver using Eclipse IDE.

Upvotes: 1

npellow
npellow

Reputation: 1985

Download the selenium-java zip and add all the Jars in the lib dir to your classpath. This will contain the WebDriver API and all the available browser Drivers such as Firefox, HTMLUnit, Chrome, etc.

Upvotes: 4

Gaurav Bansal
Gaurav Bansal

Reputation: 21

With WebDriver + Java + TestNG + Maven + ReportNG + Sikuli you can make an automation framework which is user friendly, robust, maintainable and scalable. Tools, strategies and patterns that I used are explained in detail at http://xebee.xebia.in/2012/03/30/web-gui-automation-tools-strategies-patterns/

Upvotes: 1

Related Questions