Prerequisites for starting with selenium webdriver? – User friendly Tech help
Whole automation fraternity is crazy about the emerging demand of selenium.Today we are sharing our 1st post on selenium.We are not doing something out-of-box, however we tend to start a basic step towards helping people learn Selenium.Hope our this initiative can guide and mentor our budding automation coders.
n
nRequirement:- What is required to execute and get acquaintance with Selenium.
n
nSolution:- Java,Eclipse,FireBug&Selenium
n
Java :-
nJDK(Java development Kit) is the first essential component to start with selenium.
n
n
Download Link :- http://www.oracle.com/technetwork/java/javase/downloads/index.html
n
After downloading, run the exe file to complete the installation
n
nSteps:-
n
n
Click on Download Link |
n
Select the appropriate options |
n
Note:- Installation is successful, we can verify that by typing “java” in command prompt
n
Java is installed |
n
Eclipse:-
nIDE(integrated development environment) for doing coding.
n
n
Download Link:-http://eclipse.org/downloads/
n
After downloading , extract the file and run the “eclipse.exe” to launch it.
n
nSteps:-
n
Select version of Eclipse |
n
Download Eclipse |
n
In the workspace, select the location where our code will be saved.
n
Select Path to save the code |
n
Firebug:–
n
It is a web development tool that facilitates the debugging, editing, and monitoring of any website’s CSS, HTML, DOM, XHR, and JavaScript.We need this to work with webdriver, to get the location of elements like xpath or ID.
n
Download Link:https://addons.mozilla.org/en-US/firefox/addon/firebug/
n
Steps:-
n
Download Firebug |
n
Note:- Try to download the latest available version.
n
After Installing, we can launch the plugin by navigating to “Web Developer” >> “Firebug”.
n
Selenium WebDriver:–
n
Download link:–http://www.seleniumhq.org/download/
n
After downloading and extracting the files,we will get a folder which should contain two jar files related to selenium, a lib folder which also contains jar files inside it. Beside this, there is a change log file as well.
n
Downloading Selenium |
n
Selenium Jar files |
n
Note:- For comprehensive list of all the webdriver versions, click here
n
nFirst Program using Eclipse.