OpenText™ Functional Testing for Developers JavaScript SDK

UIAPro. TableItemPattern

new TableItemPattern()

The UIA Pro TableItem pattern.

Methods

getColumnHeaderItems() → {Promise.<Array.<Promise.<Object>>>}

Retrieves the row headers associated with a table item or cell. Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with the columnHeaders of the object.
Type
Promise.<Array.<Promise.<Object>>>

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

Retrieves the row headers associated with a table item or cell. Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with an array of promisses that consist of of UIA Pro objects representing the column header items.
Type
Promise.<Array.<UiObject>>

getRowHeaderItems() → {Promise.<Array.<Promise.<Object>>>}

Retrieves the column headers associated with a table item or cell. Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with the rowHeaders of the object.
Type
Promise.<Array.<Promise.<Object>>>

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

Retrieves the column headers associated with a table item or cell. Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Returns:
a promise that is fulfilled with an array of promisses that consist of UIA Pro objects representing the row header items.
Type
Promise.<Array.<UiObject>>