wColumnCount Property (Android Controls)

Applies to TestComplete 14.80, last modified on April 21, 2021
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 wColumnCount property to get the total number of columns in the given control.

Declaration

TestObj.wColumnCount

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

Remarks

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

Example

To view an example that demonstrates how to use the wColumnCount 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
wRowCount Property (Android Controls)
wValue Property (Android GridView Object)

Highlight search results