Plug-in Documentation

Selenium for IBM UrbanCode Build

Overview

Selenium is an open source technology for testing web-based applications. It contains a suite of tools that performs automate testing using web browsers across a range of platforms.

The Selenium plug-in automates running Selenium test suites during the build process.

Compatibility

This plug-in requires IBM UrbanCode Build version 6.1 and later.

The plug-in runs on any agents that the IBM UrbanCode Build server supports.

Installation

No special steps are required for installation.See Installing plug-ins in UrbanCode products.

Steps

Process steps in the Selenium plug-in

Run Test Suite

Run a Selenium test suite

Input properties for the Run Test Suite step
Name Type Description Required
Port Number String The port for running the test. The default port is 4444. No
Selenium Jar Location String The fully-qualified path to the Selenium JAR file. For example: C:\Program Files\Selenium\selenium-server.jar. Yes
Starting URL String The starting URL on which to execute the tests. For example: http://www.google.com. Yes
Test Failure Threshold String The percentage of test failures needed to fail the job step. Specify a value from 0 to 100. No
Test Results String The fully-qualified path of the test results file. For example: C:\Documents\testResults.html. Yes
Test Suite String The fully-qualified path to the HTML suite file. For example: C:\Documents\testSuite.html. Yes
Web Browser String The web browser to run the tests. For example: *firefox. For list of supported browsers, see the Selenium website. Yes

Usage

The Selenium plug-in automates running a Selenium test suite as part of a build process. A test suite is a set of HTML text files that contains Selenium commands called selenese. The commands provide for testing the existence of user interface elements, specific content, broken links,input fields, and more.

This plug-in includes one step:

Step palette

To access this plug-in in the palette, click Quality > Functional Testing > Selenium.

Installation

No special steps are required for installation. See Installing plug-ins in IBM UrbanCode..