wColumnCount Property (Android Controls)

Applies to TestComplete 14.71, last modified on April 22, 2021

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
Iterating Through Cells in Android Grid View Controls
wRowCount Property (Android Controls)
wValue Property (Android GridView Object)

Highlight search results