wButtonText Property (Web Controls)

Applies to TestComplete 15.65, last modified on July 17, 2024


Use the wButtonText property to get the caption of the control’s button.



Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    

Applies To

The property is applied to the following objects:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.


The property has the following parameter:


Specifies the zero-based index of the button, whose caption you want to get.

Property Value

A string value holding the caption of the specified button.


If you use Python or DelphiScript, you should enclose the parameter of the wButtonText property in square brackets: wButtonText[Index].

See Also

wButtonCount Property (Web Controls)

Highlight search results