GetCellCount Function

Class

DomTableRow.

Action

Returns the number of cells of the row.

Syntax

table.GetCellCount()

Notes

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

Example

WINDOW browser = findBrowser()
WINDOW table  = browser.find(".//DomTable[@id='table1']")
WINDOW row = table.GetRow(1)
Verify(row.GetCellCount(), 4)