Introducing Extensibility Accelerator > UFT Web Add-in Extensibility - Overview

UFT Web Add-in Extensibility - Overview

The UFT Web Add-in provides built-in support for a number of commonly used Web controls. The add-in provides test object classes, operations (methods), and properties that can be used when testing Web applications.

Web Add-in Extensibility enables you to develop support for testing third-party and custom Web controls that are not supported out-of-the-box by the UFT Web Add-in. Additionally, you can use Web Add-in Extensibility to teach UFT to recognize a group of controls as one functional object.

When UFT learns an object in an application, it recognizes the object as belonging to a specific test object class. This determines the identification properties and test object operations of the test object that represents the application's object in UFT.

The type of test object that UFT uses might not have certain characteristics that are specific to the Web control you are testing. Therefore, when you try to create test steps with this test object, the available identification properties and test object operations might not be sufficient.

For example, consider a custom Web control that is a special type of table that UFT recognizes as a plain WebElement. WebElement test objects do not support GetCellData operations. To create a test step that retrieves the data from a cell in the table, you would need to create test objects to represent each cell in the table, and create a complex test that accesses the relevant cell's test object to retrieve the data.

Alternatively, consider a table on your Web page whose data is provided by multiple html table elements. You can define rules that help UFT recognize this aggregate table as one object, and provide relevant test object methods. For example, a GetCellData method that returns data which is combined from the multiple web tables.

To create support for Web controls using Web Add-in Extensibility, you create new test object classes, based on the Web Add-in ones. You can then direct UFT to recognize each control or group of controls as belonging to a specific test object class, and you can specify the behavior of each test object class. This enables you to create tests that fully support the specific behavior of your custom Web controls.

For more details on Web Add-in Extensibility, see the Micro Focus UFT  Web Add-in Extensibility Developer Guide (Help > Web Add-in Extensibility Developer Guide).