wRowCount Property (Android Controls)

Applies to TestComplete 15.64, last modified on June 12, 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.


Use the wRowCount property to determine the number of rows in the given control.



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.


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


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