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...
UFT Developer JavaScript SDK ReferenceVersion: 2021-2023UFT Developer SDK ReferenceAllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: