RowCount Property (WebTable Objects)

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

The RowCount property returns the total number of rows in the table to which TestObj corresponds. This number includes the number of rows in the table’s body, header and footer.

Declaration

TestObj.RowCount

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 number of rows in the table.

Remarks

This property is available only if the Tree or Hybrid model of web objects is active.

Example

To view an example that demonstrates how to use the RowCount property, see Parsing HTML Tables.

See Also

Tree Model
Web Table Properties
ColumnCount Property (WebTable Objects)

Highlight search results