Specifics of Testing XAML Browser Applications (XBAPs)

Applies to TestComplete 15.70, last modified on December 17, 2024

You can record and play back automated tests for WPF XAML Browser Applications (XBAP) in the same way as you would do that for regular WPF applications. However, there are some specifics that you should keep in mind:

  • Testing XBAP applications requires that the XBAP have specific security settings. For more information, see Preparing XAML Browser Applications (XBAPs) for Testing.

  • XBAP applications are displayed in the browser but executed by the WPF Host application, PresentationHost.exe. As a result, in the Object Browser the application’s object hierarchy is duplicated in both the browser and the PresentationHost processes. TestComplete, however, uses the browser object hierarchy by default during the test recording.

  • Some objects only exist in the object hierarchy of the PresentationHost process and are not available in the browser object hierarchy. Examples of such objects are:

See Also

Testing WPF Applications
About Testing WPF Applications
Preparing XAML Browser Applications (XBAPs) for Testing

Highlight search results