Automated Testing Tool (Selenium)

by GOKILAVANI 2014-04-07 09:42:38


Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.

Jason R. Huggins and team invented Selenium in 2004.

Originally named JavaScript Functional Tester [JSFT].100% Javascript and HTML

Selenium is open source software, released under the Apache 2.0 license and can be downloaded and used without charge

Selenium operations are highly flexible, allowing many options for locating UI elements and comparing expected test results against actual application behavior.


Allows scripting in several languages like Java, C#, PHP and Python.

Cross platform support: Windows, Linux, and Macintosh.

Supports Cross Browser Testing. The Selenium tests can be run on multiple browsers.

Selenium Test Case:

Open Firefox that has the IDE installed

Open the base URL of the application to record.

Keep the application in a common base state.

Go To Tools  Selenium IDE and the IDE will be opened

Now perform the operations on the applications that are to be tested.

Once done with the recording click on the stop recording button and save the test case through the file menu.

By default it will be saved as a selenese script (HTML format).

Go to Selenium IDE and click “Play current test case” button.

All the command line rows turn Mr.Green
Green color, then the test has passed.

Light Green means the code executed without problems.

Dark Green means the test result of the command evaluated to true.

If any part of the test failed it will be shown with Red color.

You must LOGIN to add comments