wRowCount Property (Android 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 wRowCount property to determine the number of rows in the given control.

Declaration

TestObj.wRowCount

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 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

The total number of rows.

Remarks

You can use the wRowCount property along with wColumnCount and wValue to iterate through grid cells.

Example

To view an example that demonstrates how to use the wRowCount property, see Iterating Through Cells in Android Grid View Controls.

See Also

About Testing Android Applications (Legacy)
Iterating Through Cells in Android Grid View Controls
wValue Property (Android GridView Object)
wColumnCount Property (Android Controls)

Highlight search results