wText Property (Window Objects)

Applies to TestComplete 15.0, last modified on November 17, 2021

Description

The wText property is added only to those window objects that correspond to windows of console applications (these windows have the ConsoleWindowClass class name). It allows you to obtain the text held in the console.

To input text into the console window, use the Keys action.

Declaration

TestObj.wText

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

Applies To

The property is applied to the following object:

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 holds the console window’s text.

See Also

Testing Console Applications
Keys Action

Highlight search results