Skip to main content

Guide to Setup Selenium Web Driver

In this Article i am describing you how to setup Selenium Web Driver in your Machine

Step 1: First You need to install Java in your Computer. To download the java Click Here


Automation Testing, Selenium Web driver, Java download

After install the Java you can check in your machine that is that i stalled or not. Open you cmd on window machine and terminal on Linux and type command java -version that will give you the version of installed java in your machine.
Selenium Web Driver, Automation Testing, Java Version command

Step 2: To download the Eclipse IDE click here. Eclipse should be same version as your machine.

Automation Testing, Selenium Web Driver, Eclipse Download for Selenium Web driver Setup

You should download the zip file. After extract it then you will find the eclipse folder. You can put that folder at anywhere on you machine.

For Eclipse you don't need to install this.

Step 3: Now you need to download the Selenium JAR files. To download the Jar files click here


This will download in ZIP format. You can extract them and save them anywhere. But better to save them in same location where you put eclipse folder.

Step 4: Now you need to configure Eclipse IDE with the Selenium Web Driver

Click on the Eclipse folder and you will find a icon name eclipse.exe. click on eclipse.exe. It will ask from you the default workspace. Select the default option and click on Ok button

Automation Testing, Selenium Web Driver

Step 5: Now create your first project of selenium Web driver for this first you need to create a java project

Click on File Menu > New > Project. Put the any name like myfirstproject

Now Right click on newly created project -> select New -> then select Package. Put the name like myfirstpackage

Now time to create a new java class. For this right click on newly created package then click on new and then select class. Put the name MyFirstClass.

Step 6: Now right click on the Project name and then put the mouse hover on Build path and select Configuration Build Path. You will see "Libraries" option showing select.

From here click on "Add External JARs..." button and select the path where you put the downloaded selenium JAR file. Select them all from different folders. Now click on On button and you have done the configuration part.





Comments

Popular posts from this blog

Why Jmeter is best option for Performance Testing?

There are multiple tools in market for performance testing of any software but Jmeter is the best solution among all of them due to some reason listed below 1) Jmeter is the open source application so users who use this application will not to pay anything. 2) You can use Jmeter for performance of any web application,  Databases and Web Services (REST and SOAP APIs). 3) Jmeter have the user friendly UI component so it is very easy to use. 4) Jmeter can be used to simulate to put maximum number of concurrent users on a server, network or object to test its strength or to analyze overall performance under different load types. 5) Jmeter also use for functional testing for static( JavaScript and HTML) and dynamic( JSP, Servlets and AJAX) resources. 6) Jmeter provides Verity of graphical representations for performance report so it is easy to understand.