Web Add-in - Quick Reference

You can use the Web Add-in to test HTML user-interface objects (controls).

The following tables summarize basic information about the Web Add-in and how it relates to some commonly-used aspects of UFT. This information is also relevant for all child add-ins that extend the Web Add-in.

General Information

Add-in Type

Much of the functionality of this add-in is the same as other Web-based add-ins.

Supported Environments

For details on supported Web browsers and versions, see the Unified Functional Testing Product Availability Matrix.

Child Add-ins

UFT also provides a set of add-ins that support testing specialized controls from a number of Web 2.0 toolkits using test object classes that were developed by HPE using Web Add-in Extensibility. These add-ins are displayed as child nodes of the Web Add-in in the Add-in Manager. For details, see Web 2.0 toolkit support .

Test Object Methods and Properties

The Web Add-in provides test objects, methods, and properties that can be used when testing objects in Web applications. For details, see the Web section of the UFT Object Model Reference for GUI Testing.

Extending the Web Add-in

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.

Other

  • When you load the Siebel Add-in in addition to the Web Add-in, the object identification settings are automatically customized. For this reason, the Web Add-in is not available in the Environment list in the Object Identification dialog box (Tools > Object Identification), even though the Web Add-in is loaded.

  • You can create steps on more than one browser tab, if your browser supports tabbed browsing.

Prerequisites

Opening Your Application

You must open UFT before opening your Web application.

Testing in Mozilla Firefox

The Functional Testing Extension for Firefox is supported from Firefox versions 38 and higher. If you need to test versions of Firefox earlier than 38, you need to enable UFT support for these Firefox versions. For details, see Enable the Functional Testing Agent for Mozilla Firefox

Only one version of the Unified Functional Testing Extension can be enabled in Firefox at a time.

Testing in Google Chrome
  • UFT communicates with the Functional Testing Agent Chrome Extension to test Web applications running in Google Chrome.

    The extension is available on the Chrome web store and downloads automatically when possible, for Chrome versions 31 or later. If the extension does not download, go to https://chrome.google.com/webstore/detail/hpoiplhbnkgnpjkkilfahkkcimachkkj and download it manually. If you do not have an Internet connection or are working with Chrome version 30 or earlier, see Enable the Functional Testing Agent Chrome extension.

    The Agent for Google Chrome is not available via search in the Google store.

    If you have a previous version of the Functional Testing Agent for Google Chrome installed, you must manually remove this extension before enabling the new version.

  • If you need to test local HTML pages in Google Chrome, you must make additional configuration changes. For details, see Enable UFT to test local HTML pages in Google Chrome.

Testing in Microsoft Edge
  • To work with Edge browsers, you must ensure that the correct Microsoft WebDriver version is in the UFT installation folder. For details, see Use the Functional Testing Agent for Microsoft Edge

  • In order to record and run tests on Microsoft Edge browsers, you must start the Edge Agent for Functional Testing. For details, see Use the Functional Testing Agent for Microsoft Edge.

  • If you are using the Microsoft Edge Insider version, you should use version 10576 or later. However, due to changes in the Web Driver insider build by Microsoft, later versions may not work with UFT.

Testing in Apple Safari on a Remote Mac See Working with Apple Safari on a remote Mac computer.

Add-in Dependencies

None

Configuration

Configuration Options

Use the Web pane.
(Make sure that a GUI test is open and select Tools > Options > GUI Testing tab > Web > General node.)

Record and Run Settings

Use the Web tab.
(Record > Record and Run Settings)

Test Settings

Use the Web pane.
(File > Settings > Web pane)

Custom Active Screen Capture Settings

Use the Web section.
(Tools > Options > GUI Testing tab > Active Screen node > Custom Level)

Application Area Additional Settings

Use the Web pane.
In the application area, select Additional Settings > Web in the sidebar.