WPFControlName Property (WPF Application Objects)

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

The WPFControlName property contains the name of a WPF object as specified by the developers when they built the application. This name is used in the WPFObject(obj_name) notation in the Object Browser.

Declaration

WPFAppObj.WPFControlName

Read-Only Property String
WPFAppObj A WPF application object.

Applies To

All WPF application objects, except for substrate windows.

Property Value

The object’s native name in the application.

Remarks

The WPFControlName property is the same as NativeClrObject.Name.

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