Selenium - Installation Procedure
Selenium is an open source testing tool developed by Thoughtworks mainly concentrating on webtesting! Http protocol.
Recently, I have been working on it , the installation procedure itself is a bit difficult to start!
So here are the details how to install and kick start working on selenium.
About Selenium:
(Source Openqa.org)
Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.
Selenium RC comes in two parts.
- A server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests from them.
- Client libraries for your favorite computer language.
Installation:
Step1:
Check the JDK version available on your system.
To Check this , open command prompt.
type java -version
you get the JDK version, if you dont have 1.6.0 and above please install it and set the path in enviromental variables --> path.
Step2:
Download all the selenium components from#-Link-Snipped-#
Core , IDE , Grid and RC.
Step3:
Download one click download of ruby from
#-Link-Snipped-#
Step2_1:
Once the selenium IDE is downloaded, its comes as a add-in in Mozilla. So Mozilla is required for working on IDE.
Drag and drop the downloaded IDE into mozilla you can see the added icon in the add-on's tab in Mozilla browser.
Step4:
Once everything is downloaded and installed we need to install selenium client, this is installed as a part of ruby installation we need to select a check box.
After downloading and installing execute this commant in command prompt.
gem install selenium-client
Step5:
Selenium RC server comes as a ZIp file, unzip it into same location and execute the jar file which will be available in the selenium-server folder.
which starts the selenium server and the tests can be run through RC.
Using Selenium IDE:
As, explained above it comes as a add-on in mozilla, all actions done using the mozilla browser are recorded in the IDE, using the language converter un IDE convert the code to ruby code and save the file as testname.rb and execute the same using RC.
If you have any questions on the above procedures , post here or mail me to my mail if which is available in my signature!