OpenText™ Functional Testing for Developers JavaScript SDK

UIAPro. TablePattern

new TablePattern()

The UIA Pro Table pattern.

Methods

getColumnHeaders() → {Promise.<Array.<Promise.<UiObject>>>}

Returns a collection with all the column headers in a table.
Returns:
a promise that is fulfilled with an array of promises that consist of the columnsHeaders items of the object.
Type
Promise.<Array.<Promise.<UiObject>>>

getPrimaryTraversalDirection() → {Promise.<UIAPro.TableTraversalDirection>}

Returns the primary direction of traversal for the table.
Returns:
a promise that is fulfilled with the primaryTraversalDirection of the object.
Type
Promise.<UIAPro.TableTraversalDirection>

getRowHeaders() → {Promise.<Array.<string>>}

Returns a collection with all the row headers in a table.
Returns:
a promise that is fulfilled with the rowHeaders of the object.
Type
Promise.<Array.<string>>