QtText Property (Qt Application Objects)

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

Description

Returns the value of the native Text property of a Qt application object if the object is not a text editor. Otherwise, returns the value of the WindowTitle property. If the Text property is empty, the property also returns the WindowTitle value.

Declaration

TestObj.QtText

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

All Qt application 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.

Property Value

A string holding a Qt object's window caption.

Remarks

The property is used to address objects. See Addressing Objects in Qt Applications for more information.

See Also

Support for Qt Applications' Controls

Highlight search results