.NET Windows Forms Add-in

You can use the UFT .NET Add-in to test .NET Windows Forms user-interface objects (controls).

The following tables summarize basic information about .NET Windows Forms application support and how it relates to some commonly-used aspects of UFT.

General Information

Add-in Type

The .NET Windows Forms testing support functions like a Windows-based add-in. Much of its functionality is the same as other Windows-based add-ins.

Supported Environments

For details on supported .NET Windows Forms environments, see the .NET Add-in section of the Unified Functional Testing Product Availability Matrix.

Important Information

You can also test most custom .NET controls inherited from the System.Windows.Forms.Control regardless of which language was used to create the application (for example, Visual Basic .NET, C#, and so on)

Test Object Methods and Properties

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

Extending the .NET Add-in

.NET Add-in extensibility enables you to develop support for testing third-party and custom .NET Windows Forms controls that are not supported out-of-the-box by the UFT .NET Add-in.

Known issues Known Issues - .NET Windows Forms
Prerequisites

Opening Your Application

You must open UFT before opening your .NET Windows Forms application

Add-in Dependencies

The .NET Add-in must be installed.

Configuration

Configuration Options

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

Record and Run Settings Dialog Box

Use the Windows Applications tab.

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 the .NET Windows Spy, the Object Spy, and other pointing hand operations.

Custom Active Screen Capture Settings Dialog Box

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

Application Area Additional Settings pane

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

See also: