WndCaption Property

Applies to TestComplete 15.64, last modified on May 16, 2024


Specifies the text of the window’s caption bar.



Read-Write Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A string that specifies the window caption.


Note that the window caption is not a unique identifier of the window; for that purpose, use the Handle property.


To view an example that demonstrates how to use the WndCaption property, see Naming Windows.

See Also

WndClass Property
Index Property
wText Property
ControlId Property
Naming Windows
Object Browser Naming Notation

Highlight search results