Download Eclipse for from their official website
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
Let us wait for download window to appear, now click ok button to start download
Once download will finish, start extract the zip file and wait for extraction process to finish. It will take around 15 min to finish.
Once extraction process will finish you will get eclipse-standard folder
Open eclipse folder
We are done 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/
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
Step 3- We will also download Selenium server, which is known as Selenium RC server
Now we are almost done now let us open eclipse and install TestNG also.
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
Step 3- We have to provide TestNG url so that eclipse can fetch TestNG plugin
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
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.
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
Step 2-Now in Search bar search for FireBug and install the same
Step 3-Once FireBug installed, install firepath using the same steps
Step 4- Once your browser will restart then top right corner firebug symbol will come or you can check by pressing F12 also