WPFControlText Property (WPF Application Objects)

Applies to TestComplete 15.45, last modified on December 01, 2022

Description

Returns the text of a WPF application’s object. In most cases, this is the object’s caption.

Declaration

WPFAppObj.WPFControlText

Read-Only Property String
WPFAppObj A WPF application object.

Applies To

All WPF application objects, except for substrate windows.

Property Value

A string holding the object’s text.

Remarks

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