GetCell Function (DomTableRow)

Class

DomTableRow.

Action

Returns the specified cell of a row in a table.

Syntax

window=table.GetCell(itemIdentifier)
Variable Description
itemIdentifier The index of the row from which to select the cell. LISTITEM.

Notes

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

Example

WINDOW row  = browser.find(".//DomTable//DomTableRow[2]")
WINDOW cell = row.GetCell(3)
Verify(cell.getText(), "1.2b")