Thursday 3 April 2014

Enhancements in Selenium IDE 2.5.0

Selenium 2.5.0 has brought in 3 enhancements and 3 minor fixes to the the already existing version of 2.4.0. The release notes can be found on the SeleniumHQ downloads page or can be directly accessed by visiting this link.

There are 3 enhancements, 3 fixes and some minor changes.

Enhancement 1: Select an element for a command by clicking on the element in the browser window

This has been the most important enhancement of version 2.5.0. Using the select option the user can now select the locator object of an element present on the web page.

image

When trying to identify locator objects during test case creation, user can simply enable the select mode. In the select mode the user can hover over any element on the web page. This would cause the particular element to get highlighted. Once decided on the element you require click on the desired object. This would cause the IDE to record the HTML tag of the particular element.

image

The user can also use the drop down of the target text box and select any alternative locator for the particular element.

image

Once selected click on the cancel button so that the select mode gets disabled from further selecting any other HTML elements. This new functionality of the selenium IDE can be used as an alternative to locator object identification using addons such as firebug.

Enhancement 2: Start playing a test suite from any test case (Using right click menu)

Using this enhancement a user can start executing a test suit from any test case within it. The user will have to simply right click to the options drop down from where the play test suit from here option can be selected. This would cause the execution of the particular test suit to begin from the specified test case.

image

In case a user had inserted a start point in the particular test case, while execution the suit would begin from the start point of the particular test case.

Enhancement 3: Add a new test case using a keyboard shortcut (ctrl-N or cmd+N)

Using this new enhancement a user can add a new test case using the keyboard shortcut of CTRL+N or CMD+N

No comments:

Post a Comment