wText Property (HotKey Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

Use the wText property to obtain or set the text which is displayed by the control.

Declaration

TestObj.wText

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 object:

View Mode

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

Property Value

A string holding the text displayed by the control.

Example

To view an example that demonstrates how to use the wText property, see Getting HotKey Text in Desktop Windows Applications.

Highlight search results