ObjectText Property (iOS Objects)

Applies to TestComplete 14.72, last modified on December 24, 2020

Description

The ObjectText property returns the iOS object’s text content.

Declaration

TestObj.ObjectText

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

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

Example

To view an example that demonstrates how to use the ObjectTextproperty, see Getting Alert View Title and Message.

See Also

Checking a Button's State
Testing iOS Applications
Addressing Objects in iOS Applications

Highlight search results