Selenium – Environment Setup

In order to develop Selenium RC or WebDriver scripts, users have to ensure that they have the initial configuration done. Setting up the environment involves the following steps. Download and Install Java Download and Configure Eclipse Configure FireBug and FirePath Configure Selenium RC Configure Selenium WebDriver Download and Install Java

Selenium – IDE

The Selenium-IDE (Integrated Development Environment) is an easy-to-use Firefox plug-in to develop Selenium test cases. It provides a Graphical User Interface for recording user actions using Firefox which is used to learn and use Selenium, but it can only be used with Firefox browser as other browsers are not supported.

Selenium IDE – Different Browser

Selenium scripts can run tests only against Firefox as the tool IDE itself is a plugin of Firefox. Tests developed using Selenium IDE can be executed against other browsers by saving it as Selenium WebDriver or Selenium Remote Control Script. Step 1 : Open any saved Test in Selenium IDE.

Selenium – User Extensions

t is easy to extend Selenium IDE by adding customized actions, assertions, and locator-strategies. It is done with the help of JavaScript by adding methods to the Selenium object prototype. On startup, Selenium will automatically look through the methods on these prototypes, using name patterns to recognize which ones are

Selenium – IDE Pattern Matching

Like locators, patterns are a type of parameter frequently used by Selenium. It allows users to describe patterns with the help of special characters. Many a time, the text that we would like to verify are dynamic; in that case, pattern matching is very useful. Pattern matching is used with

Selenium – IDE Verification Points

The test cases that we develop also need to check the properties of a web page. It requires assert and verify commands. There are two ways to insert verification points into the script. To insert a verification point in recording mode, “Right click” on the element and choose “Show all

Selenium – IDE Debugging

Debugging is the process of finding and fixing errors in the test script. It is a common step in any script development. To make the process more robust, we can make use a plugin “Power Debugger” for Selenium IDE. Step 1 : To install Power Debugger for Selenium IDE, navigate

Selenium – IDE Test Creation

The following steps are involved in creating Selenium tests using IDE: Recording and adding commands in a test Saving the recorded test Saving the test suite Executing the recorded test Recording and Adding Commands in a Test We will use www.ncalculators.com to demonstrate the features of Selenium. Step 1 :

Selenium – IDE Tool Features

The following image shows the features of Selenium IDE with the help of a simple tool-tip. The features of the record tool bar are explained below.

Selenium – IDE Download

Step 1 : Launch Firefox and navigate to the following URL- http://seleniumhq.org/download/. Under the Selenium IDE section, click on the link that shows the current version number as shown below. Step 2 : Firefox add-ons notifier pops up with allow and disallow options. User has to allow the installation. Step