wSelectionStart Property (Mobile Controls)

Applies to TestComplete 15.69, last modified on November 13, 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 wSelectionStart property to get the position of the first selected character in the text.

Declaration

TestObj.wSelectionStart

Read-Only Property Integer
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

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The index of the first selected character in the text.

Remarks

If no text is selected, wSelectionStart indicates the position of the cursor.

See Also

Testing Android Applications (Legacy)
Testing iOS Applications (Legacy)
Selecting Text Within the Edit Text Control
Selecting Text Within an Edit Control
wText Property (Mobile Edit Controls)
wSelection Property (Mobile Controls)
wSelectionEnd Property (Mobile Controls)

Highlight search results