.NET Windows Presentation Foundation (WPF) Add-in

Use the UFT Windows Presentation Foundation (WPF) Add-in to test WPF (Windows Presentation Foundation) 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 Windows Presentation Foundation environments, see the WPF Add-in section of the Unified Functional Testing Product Availability Matrix.

Test Object Methods and Properties

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

Important Information

You can test most custom WPF controls inherited directly or indirectly from the System.Windows.Controls.Control class regardless of which language was used to create the application (for example, Visual Basic, .NET, C#, and so on), as well as third-party WPF controls that are inherited from the System.Windows.Controls.Control class and implement automation interfaces.

Extending the WPF Add-in

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

Known issues Known Issues - .NET WPF

Opening Your Application

You can open your WPF application before or after opening UFT.

Add-in Dependencies

The Web and .NET Add-ins must be installed.


Configuration Options

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

Record and Run Settings

Use the Windows Applications tab.

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.

See also: