TablePattern

Supported in UFT Developer version 2023 and later

UIA Pro is supported as a technical preview.

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>>