Configure Eclipse for Selenium

Download Eclipse for from their official website

https://eclipse.org/downloads/

Here you will get so many flavor of eclipse IDE you can select first which is coming Eclipse IDE for Java Developers based on your requirement select 32 or 64 bit.

Here we will select 32-bit windows

pic1mu

 

pic2mu

Let us wait for download window to appear, now click ok button to start download

Configure Eclipse for Selenium

Once download will finish, start extract the zip file and wait for extraction process to finish. It will take around 15 min to finish.

Configure Eclipse for Selenium

 

Configure Eclipse for Selenium

Once extraction process will finish you will get eclipse-standard folder

Configure Eclipse for Selenium

Open eclipse folder

Configure Eclipse for Selenium

Open Eclipse.exe

Configure Eclipse for Selenium

We are done Configure Eclipse for Selenium

Configure Eclipse for Selenium

 

Configure Eclipse for Selenium
Selenium Webdriver is collection of Java library with some predefined methods.

Selenium Webdriver also known as Selenium 2.

In Java term collection of library is packed into jar files (Java Achieve file).

Step 1- Open any browser and navigate to  http://docs.seleniumhq.org/download/

Configure Eclipse for Selenium

Step 2- Navigate to Selenium Client & WebDriver Language Bindings Section and download Java library files. These jars will come into zip files that we need to extract

Configure Eclipse for Selenium

Step 3- We will also download Selenium server, which is known as Selenium RC server

Configure Eclipse for Selenium

Now we are almost done now let us open eclipse and install TestNG also.

Open eclipse

Configure Eclipse for Selenium

Eclipse home page

Step 2- In eclipse we have some default plugin available now we will install external software into eclipse.
Click on Help then Install new software

 

Configure Eclipse for Selenium

Click on help

 

 

 

 

 

Step 3-  We have to provide TestNG url so that eclipse can fetch TestNG plugin

 

Configure Eclipse for Selenium

Specify the URL

 

Step 4- To get TestNG url please visit  http://testng.org/doc/download.html and copy the below mention URL and paste the same URL in Eclipse and Press Enter

 

Configure Eclipse for Selenium

Copy download URL

pic18

Select TestNG checkbox

Click on Next

Step 5- Accept the term &condition, and click on finish button.

During installation it will ask you to restart eclipse so please go ahead to restart eclipse.

pic19

Click on Finish

Element inspector for Selenium

In Firefox Firebug and Firepath is Add-on to identify elements of Web page so that we can check the attributes and we can use the same in script.

Step 1- Open Firefox and Click ALT key then Click on Add-ons option

pic20

Step 2-Now in Search bar search for FireBug and install the same

pic21

Step 3-Once FireBug installed, install firepath using the same steps

pic22

pic23

 

 

 Step 4- Once your browser will restart then top right corner  firebug symbol will come or you can check by  pressing F12 also

 

 

 

 

 

 

28 Comments

  1. Swapnil
  2. mukesh