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

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

Why testing is necessary?

Before start learning of Testing i would like to ask one thing - why testing is necessary? In each and every field 'Testing' is the important phase of product development cycle. Without testing no one ensure the quality of the product. The product can be anything it may be a Car, a Machine, a Medicine , a Software etc, it need to fully tested. Only after testing you can say the product that you build have good quality. Only after testing you can release your product in market. if you release your product in market without testing then it may be possible that your product have serious issue that cause the negative effect on your business. So Testing on important. Now we talk about the Testing importance in Software Development. Testing is necessary because everyone makes mistakes and sometimes these errors are expensive or dangerous. Testing is required to test every part because things can always go wrong. Today is the market of Internet and if you leave any mist...