WPFControlAutomationId Property (WPF Application Objects)

Applies to TestComplete 15.63, last modified on April 10, 2024


Returns the value of the WPF control’s AutomationIdProperty property as it is set in the tested application’s source code.



Read-Only Property String
WPFAppObj A WPF application object

Applies To

All WPF application objects, except for substrate windows.

Property Value

A string value that specifies the AutomationIdProperty value set for the WPFAppObj object in the tested application’s sources.


  • If developers did not set the AutomationIdProperty value in source code, the property returns an empty string.

  • The property is available only if the application under test is a WPF application and the WPF Control Support plugin is installed and enabled in File | Install Extensions.

See Also

Testing WPF Applications

Highlight search results