Selenium WebDriver- Web Application Testing : Selenium Setup
Selenium WebDriver- Web Application Testing
After download, you will get selenium-java-2.44.0.jar.
if extract this file you will get selenium-java-2.44.0.jar file that you need to place as library in your project.
|Selenium with Eclipse|
Create web Project and ADD selenium-java-2.44.0.zip file after extract by using configure build path to Your project as below.
Note: You can take web sample code that is available on previous article.
If you have downloaded above zip file and configured with eclipse then you are ready to move with Selenium Testing Framework.
Run the TestFile which is mentioned as below
And you will find that all tests got successful. since we have the code
Now, Change code as below
and then run the test again where you will find that test got failed.
With Maven Tool
Add a dependency to Selenium in test scope. (Note: 2.44 is the latest stable version as of the latest edit on this page.)
<dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>2.44.0</version> </dependency>
Click the below Link to download complete Library and Examples