GetColumnCount Function (HtmlTable)

Class

HtmlTable.

Action

Returns the number of columns in a table.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

iCount = table.GetColumnCount( )
Variable Description
iCount The number of columns in the table. INTEGER.

Example

This example uses the table on the Online Catalog page of the GMO Web application.

Print(CatalogPage.CatalogTable.GetColumnCount())

// Result:
// 4