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.

Smoke Testing

In Smoke Testing, Testing team check the key feature or key bugs of the software. Smoke testing ensure that critical functionality of the software is working fine.If key features are not working then it is no needed to test the overall functionality because it is just waste of time. In Smoke Testing, test team check the basic feature of the software and if basic feature is not working it means software is broken very badly and further testing is unnecessary. If Smoke Testing failed then it is declared that build is unstable and revert back to developer team until smoke test is pass.

Difference between Error, Bug, Defect and Failure

Error: Any mistake in the coding called error. The mistake may be Syntax error, Logical errors or other GUI errors lead errors in any software. These are from developer side. Defect: The error which made by developer and during testing, Tester is able to find that errors,  means if actual result deviated from expected result then that error called defects. This is caught by testers. Bug: The defect which is developed by tester team, if expected by the developer team then that defect called an bug. Failure: If the Software does not meet the client requirement then this is called failure of the software.