ActiveX Add-in

You can use the UFT One ActiveX Add-in to test ActiveX user-interface objects (controls).

General Information

Add-in Type

This is a Windows-based add-in. Much of its functionality is the same as other Windows-based add-ins.

Supported Environments

For details on supported ActiveX environments, see the ActiveX Add-in section of the UFT One Support Matrix.

Important Information

  • When testing ActiveX objects in a browser, the top-level ActiveX object is inserted within the standard Web object hierarchy, for example, Browser.Page.ActiveX.

  • When creating a programmatic description for an ActiveX test object and the relevant run-time object is windowless (has no window handle associated with it), you must add the windowless property to the description and set its value to True.

Test Object Methods and Properties

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

Known issues Known Issues - ActiveX Add-in

Prerequisites

Opening Your Application

The application containing the ActiveX controls on which you want to record must be closed before you begin a UFT One recording session and set the Record and Run options. Open the application only after you begin the recording session.

Add-in Dependencies

Loading the ActiveX and Siebel add-ins together may cause problems when recording on some ActiveX methods.

Configuration

Configuration Options

Use the Windows Applications pane.
(Tools > Options > GUI Testing tab > Windows Applications node)

Record and Run Settings

Use the Windows Applications tab.
(Run > Run Settings or Record > Record Settings)

  • If you select the Record and Run only on radio button in the Record and Run Settings dialog box, the settings also apply to (limit) the applications that are recognized for Object Spy and other pointing hand operations.
  • UFT One recognizes ActiveX objects only in applications that are opened after changing the record and replay settings in the Windows Applications tab of the Record and Run Settings dialog box.

Custom Active Screen Capture Settings

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

Application Area Additional Settings

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