Google Search

Saturday, October 12, 2013

Introduction & Installing Selenium - Day 1

Selenium is one of the most powerful open source browser automation tool available in the market to the date. Selenium is not a single tool but a suite of tools which actually evolved with time.

The Selenium tool suite comprises of

1.       Selenium IDE : A Firefox Plug-in to record and play tests (Other platforms are not supported as of now)
2.       Selenium Remote Control : Allows exporting of test suites across different OS/platforms
3.       Selenium Grid: Allows control to many Selenium Machines.


Why Selenium?

Selenium is mostly useful if you want to
·         Create scripts to reproduce bugs
·         Create scripts which help in automated exploratory testing
·         Create robust and browser based regression test suite.
·         Create and use scripts across multiple environments.

Installing Selenium IDE:

1.       Get Firefox browser: To work with Selenium IDE, you need Firefox browser, if you don’t have that , you can download it from http://www.mozilla.org/en-US/firefox/new/
2.       Install Selenium IDE Plug-in:  You can get the Selenium IDE pug-n from the link http://docs.seleniumhq.org/download/. Download the latest version available.

Download Latest Version (Here 2.4.0)
Allow Firefox to Download

Install add-ons

Once Installed , restart your browser

Now, Navigate to FireFox/Web Developer/Selenium IDE to launch the tool.

Your Tool is Up & Running.


3.       Extra Add-ons (Will be Explained later): Firebug .


Next we will record our first Selenium Script.

Fun Fact: Selenium git its name as it was one of the competitor to Mercury’s QTP. And in Elemental Science, you know Selenium (Se) removes Mercury (Hg) from body, Hence the name.

No comments:

Post a Comment