wText Property (iOS Controls)

Applies to TestComplete 15.70, last modified on December 17, 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

Use the wText property to get the text displayed by a control in an iOS application.

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

Example

To view an example that demonstrates how to use the LongTouchButton method to simulate touches on buttons in iOS applications, see Working With Toolbars and Navigation Bars - Basic Concepts

See Also

Testing iOS Applications - Overview (Legacy)
Working With Toolbars and Navigation Bars - Basic Concepts
Checking an ActionSheet Item's State

Highlight search results