TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 12 Samples folder.
Some file managers display the Public Documents folder as Documents.
With TestComplete, you can test your 32-bit and 64-bit WPF applications. You can record and replay various interactions with WPF applications, such as navigation through the application’s screens, filling out forms, running menu commands. To ensure that the application under test functions properly, you can insert various checkpoints for verifying data, GUI element states and other items.
This section contains information specific to WPF application testing. For general information about creating and running automated tests for .NET-based applications with TestComplete, refer to the Working With TestComplete and Testing .NET Applications sections.
Note: | Since WPF applications are .NET applications, basic concepts and features of testing .NET applications apply to WPF applications as well. So, we recommend that you read the Testing .NET Applications section before you proceed. |
Basic Information and Requirements
About Testing WPF Applications
Requirements for Testing WPF Applications
Preparing XAML Browser Applications (XBAPs) for Testing
Creating Tests for WPF Applications
Addressing Objects in WPF Applications
Support for WPF Applications' Controls
Accessing Native Properties and Methods of WPF Objects
Support for WPF Control Templates
Specifics of Testing XAML Browser Applications (XBAPs)
Related Topics of Interest
Accessing Native Properties and Methods of .NET Objects
Accessing Non-Visual Objects in .NET Applications
Creating Instances of .NET Classes Defined in Applications
Calling Functions From .NET Assemblies
Working With Application Objects and Controls
Testing Silverlight Applications
Testing ClickOnce Applications
Samples
TestComplete includes a number of sample WPF applications and test projects for them. You can examine these samples to better understand how to implement some common automated testing scenarios.
Sample Location | Description |
---|---|
<TestComplete Samples>\Desktop\Orders\WPF | General-purpose testing sample for a sample C# WPF application, Orders. |
<TestComplete Samples>\Desktop\Orders\WPF3D | Example of testing a C# WPF application that uses customized controls and visualizations. |
For information about sample applications and test projects included in TestComplete, see TestComplete Samples.