OpenText™ Functional Testing for Developers JavaScript SDK

SAPUI5. TableCell

new TableCell(rowIndex, cellIndex, ownerTable)

A single cell in the TableTO SAPUI5 object.
Parameters:
Name Type Description
rowIndex number The 0-based index of the cell's row.
cellIndex number The 0-based index of the cell's column.
ownerTable TableTO The table that the current cell belongs to.

Methods

selectItem(text) → {Promise.<void>}

Selects the specified item in the table cell according to its text.
Parameters:
Name Type Description
text string The text of the item to select.
Returns:
a promise that is fulfilled after the operation is done.
Type
Promise.<void>

setText(text) → {Promise.<void>}

Sets the contents of the table cell to the specified text value.
Parameters:
Name Type Description
text string The text value to set.
Returns:
a promise that is fulfilled after the operation is done.
Type
Promise.<void>