Visual Basic Add-in - Quick Reference

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

The following tables summarize basic information about the Visual Basic Add-in and how it relates to some commonly-used aspects of UFT.

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 Visual Basic environments, see the Visual Basic Add-in section of the Unified Functional Testing Product Availability Matrix.

Test Object Methods and Properties

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

Prerequisites

Opening Your Application

You can open your Visual Basic application before or after opening UFT.

Add-in Dependencies

None

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.
(Record > Record and Run Settings)

  • If you select the Record and Run only on radio button, the settings may also apply to (limit) the applications that are recognized for Object Spy and other pointing hand operations.

  • UFT recognizes Visual Basic objects only in applications that are opened after changing the 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.