Applies to TestComplete 14.70, last modified on October 26, 2020

Description

Use this property to get the index of the selected item.

Declaration

TestObj.wSelectedItem

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

An integer value that specifies the index of the selected item.

See Also

Testing Android Applications
Testing iOS Applications
Working With Radio Groups
Getting Spinner Items' Text
Determining the Currently Selected Segment
wItem Property (Mobile Controls)

Highlight search results