OpenText™ Functional Testing for Developers JavaScript SDK

Oracle. TreeViewNode

new TreeViewNode()

A TreeViewNode object

Methods

collapse() → {Promise.<void>}

Collapses the specified item in the tree.
Returns:
a promise that is fulfilled when the collapse operation ends.
Type
Promise.<void>

expand() → {Promise.<void>}

Expands the specified item in the tree.
Returns:
a promise that is fulfilled when the expand operation ends.
Type
Promise.<void>

path() → {string}

Returns the path to the node in the tree.
Returns:
the path to the node in the tree
Type
string