Interview Q&A Selenium Introduction Testing Tools

What is Selenium IDE & Firebug? Answer to UFT Recording & Object Spy!

The first step for any aspiring Selenium enthusiast is to understand Selenium IDE. Why? Simple! Since many of us don’t know programming and it’s the easiest way to get started…

If you are new to Automation – first understand the basics of how it works, i.e. the Object model.

Selenium IDE

The Selenium-IDE (Integrated Development Environment) is an easy-to-use Firefox plug-in with a Graphical User Interface to develop, edit & debug Selenium test cases. How? Just record-and-play. Simple, right?

Selenium IDE

Moreover, the recorded scripts can be converted into various programming languages supported by Selenium and can then be executed on other browsers as well. With autocomplete support and the ability to move commands around quickly, Selenium IDE is the ideal environment to start creating Selenium tests.

Note: The default format for Selenese commands is HTML. Selenium IDE is the counter argument for HP UFT’s recording capabilities – easy to learn.

Firebug

A Firefox add-on used to obtain locator values, i.e. to inspect the HTML elements of the web application under test (just like Object Spy for HP UFT). Firebug provides the properties of the element that the Selenese command would act upon. Remember the Object model & the need to identify object properties for automation.

Firefox Firebug

Selenium IDE Plugins

Selenium IDE supports additional Firefox add-ons or plugins to ease extension & customizations like adding new functionality to the API, custom formats & export capabilities, etc. Visit here  for a list of Selenium add-ons available to date. To cater to different needs, just install them as you do with other Firefox add-ons.

With the standard distribution, Selenium IDE comes with Ruby, Python, Java and C# Formatters – to convert the HTML into the desired programming formats.

Because of its simplicity, Selenium IDE has limited capabilities hence should only be used as a prototyping tool and not as an overall solution for developing and maintaining complex test suites. Thus, other tools like Selenium RC, WebDriver comes into the picture.

Save

Save

Save

Save

Save

Save

Leave a Reply

Your email address will not be published. Required fields are marked *