ControlText Property (Android Objects)

Applies to TestComplete 15.63, last modified on April 23, 2024
This property is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.

Description

The ControlText property returns the Android object’s text content.

Declaration

TestObj.ControlText

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 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 the text displayed by the object.

See Also

Testing Android Applications (Legacy)
Addressing Objects in Android Open Applications (Legacy)
Determining a Check Box's State
Touch Action (Mobile Objects)
wText Property (Mobile Edit Controls)

Highlight search results