Requirements for Testing WPF Applications

Applies to TestComplete 14.92, last modified on September 16, 2021

WPF Support Plugins

Core WPF Plugins

TestComplete support for testing WPF applications is provided by the following plugins:

  • .NET Application Support

  • Open Applications

  • Desktop Testing

These plugins are installed and enabled automatically. Therefore, you can test most WPF applications right out-of-box, without any additional configuration.

You can check to see if these plugins are active by selecting File | Install Extensions from the TestComplete main menu. If one of these plugins is not available, you need to run the TestComplete installation in the Repair mode. For more information about changing installed TestComplete features, see Installing Extensions.

To use these plugins, you must have a license for TestComplete Desktop module.

Plugins for WPF Controls Automation

The TestComplete Desktop module also includes pre-installed plugins for automated testing of standard and third-party WPF controls. These plugins provide test objects, methods and properties for automating various operations on WPF controls, getting their contents, state and so on.

Just like core support plugins, these plugins are also installed and enabled automatically.

You can verify that these plugins are active using the File | Install Extensions dialog. To re-install the plugins, run the TestComplete installation in the Repair mode.

Testing WPF Applications Running Under Another User Account

To test WPF applications that run under a different user account, you need to configure certain COM Security settings on the computer. For details, see Settings for Testing Open Applications in RunAs Mode.

In addition, TestComplete must be launched with administrator privileges.

Testing WPF Applications Running From Network Locations

To test a WPF application that is launched from a network share, the application must be running with Full Trust. For details, see Settings for Testing Network and No-Touch Deployment .NET Applications.

Testing XBAP Applications

To test XAML browser applications (XBAPs), the application must have certain security permissions. For more information, see Preparing XAML Browser Applications (XBAPs) for Testing.

Testing No-Touch Deployed WPF Applications

To test WPF applications that are launched from a web server using Internet Explorer and no-touch deployment, the tested application must be running with Full Trust. For details, see Settings for Testing Network and No-Touch Deployment .NET Applications.

See Also

Testing WPF Applications
Supported WPF Technologies
About Testing WPF Applications

Highlight search results