WPF Applications

This functionality is supported only if you are using the Open Agent.

Silk Test Classic provides built-in support for testing Windows Presentation Foundation (WPF) applications using the Open Agent. Silk Test Classic supports standalone WPF applications and can record and play back controls in .NET version 3.5 or later.

For information about new features, supported platforms, and tested versions, refer to the Release Notes.

WPF applications support hierarchical object recognition and dynamic object recognition. You can create tests for both dynamic and hierarchical object recognition in your test environment. You can use both recognition methods within a single test case if necessary. Use the method best suited to meet your test requirements.

When you record a test case with the Open Agent, Silk Test Classic creates locator keywords in an INC file to create scripts that use dynamic object recognition and window declarations.

Existing test cases that use dynamic object recognition without locator keywords in an INC file will continue to be supported. You can replay these tests, but you cannot record new tests with dynamic object recognition without locator keywords in an INC file.

When you create a new WPF project, Silk Test Classic uses the Open Agent by default.