Web Add-in

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
  • Web 2.0 Toolkit Support

    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 Micro Focus 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 .

  • WebAgGrid and WebUIGrid objects

    Starting from UFT 15.0, the WebAgGrid and WebUIGrid test objects are supported by separate AgGrid and UIGrid Web child Add-ins, instead of the Web Add-in itself. This eliminates some conflicts that used to occur between these objects and Web objects.

    The AgGrid and UIGrid add-ins are installed as part of the Web add-in. However, by default, these add-ins are not loaded. If you want to test AgGrid or UIGrid objects, make sure to open UFT with the relevant add-in selected.

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.

Known issues Known issues - Web Add-in
Prerequisites

Opening Your Application

You must open UFT before opening your Web application.

Testing in Mozilla Firefox

The Micro Focus UFT Agent Extension for Firefox is supported from Firefox versions 57 and higher.

Note: 

  • Testing on versions of Firefox earlier than 57 requires installing the legacy Functional Testing Agent extension.

    Mozilla no longer supports legacy extensions, as described in https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Overlay_Extensions. Therefore, UFT's legacy agent is supported only on Firefox ESR versions 38-53.

    For details on installing the extension, see Enable the Micro Focus UFT Agent for Mozilla Firefox.

  • Testing Java applets on Firefox relied on an earlier legacy Functional Testing Agent extension and is no longer supported.
  • 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 Micro Focus UFT 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 Micro Focus UFT Agent Chrome extension.

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

    If you have the Functional Testing Agent for Google Chrome installed, you must manually remove this older extension before enabling the new one.

  • 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 Chromium-based Edge

In order to record and run tests on Microsoft Chromium-based Edge browsers, you must install the Micro Focus UFT Agent Chromium Edge extension. For details, see Enable the Micro Focus UFT Agent extension on Chromium Edge.

UFT supports the stable and beta Chromium Edge versions. When UFT opens the browser, it opens the stable version, if installed. Otherwise, it opens the beta version, if installed.

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 Edge Agent for UFT

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

  • 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.

See also: