WndCaption Property

Applies to TestComplete 15.62, last modified on March 19, 2024

Description

Specifies the text of the window’s caption bar.

Declaration

TestObj.WndCaption

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.

Remarks

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

Example

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