Share this page
ListItem
Constructor
new ListItem()
A ListItem object
Methods
height() → {Promise.<number>}
The height of the list item (in pixels).
Returns:
a promise fulfilled with the height of the item.
-
Type
- Promise.<number>
isFocused() → {Promise.<boolean>}
Indicates whether the list item has focus in a multiple selection list box.
Returns:
a promise fulfilled with the indication whether the item is focused or not.
-
Type
- Promise.<boolean>
isSelected() → {Promise.<boolean>}
Indicates whether the list item is selected.
Returns:
a promise fulfilled with the indication whether the item is selected or not.
-
Type
- Promise.<boolean>
text() → {Promise.<string>}
The text value of the list item, or "" when empty.
Returns:
a promise fulfilled with the text of the item.
-
Type
- Promise.<string>
Tips to improve your search results...
OpenText™ Functional Testing for Developers JavaScript SDK Version: 24.4OpenText™ Functional Testing for Developers SDK24.4AllView Local Help CenterView Online Help CenterVersion: