|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.|
ObjectText property returns the iOS object’s text content.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The property is applied to the following object:
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
A string containing the text displayed by the object.
To view an example that demonstrates how to use the
ObjectTextproperty, see Getting Alert View Title and Message.
Checking a Button's State
Testing iOS Applications (Legacy)
Addressing Objects in iOS Applications (Legacy)