WPFControlText Property (WPF Application Objects)

Applies to TestComplete 14.70, last modified on April 22, 2021

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