Package com.hp.lft.sdk.sap.ui5
Interface ListBox
- All Superinterfaces:
- Clickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider,- WebElement,- WebTestObject,- WebTestObjectDescriber
An SAPUI5 list box object.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeselect(int... itemIndices) Deselects items (by index) from the list.voidDeselects a list of items in the list box.voidDeselects items (by text) from the list.voidextendSelect(int... itemIndices) Selects a list of items in the list box.voidextendSelect(ListItem... items) Selects a list of items in the list box.voidextendSelect(String... items) Selects a list of items in the list box.voidfilterByDate(Date date) Invokes the filter according to the specified date.Returns the control type of the test object.Returns the initial text value, which is set when the object is reset.Returns an item with the given text.getItems()Returns all of the items in the list.Returns the functionality provided byMobileListBehavior.Returns the list of all selected items.Returns the selection type of the list object.getType()Returns the attribute "type" of the HTML element.getValue()Returns this object's text value.intReturns the number of items that are displayed in the list box.booleanReturns whether multiple items can be selected.voidselect(int... itemIndices) Selects a list of items according to their indices.voidSelects a list of items in the list box.voidSelects a list of items according to their string values.voidEnters the specified text in the list box.voidsingleSelect(int itemIndex) Selects one item in the list box.voidsingleSelect(ListItem item) Selects one item in the list box.voidsingleSelect(String item) Selects one item in the list box.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElementdoubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectgetAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriberdescribe, describe
- 
Method Details- 
getItemsReturns all of the items in the list.- Returns:
- All of the items in the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemsReturns the list of all selected items.- Returns:
- The list of of all selected items.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectTypeReturns the selection type of the list object.- Returns:
- selection type of the list object. Possible values: SelectType
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getControlTypeControlType getControlType()Returns the control type of the test object.- Returns:
- The control type of the test object. Possible values: ControlType
 
- 
getMobileMobileListBehavior getMobile()Returns the functionality provided byMobileListBehavior.- Returns:
- The functionality provided by MobileListBehavior.
 
- 
setEnters the specified text in the list box.- Parameters:
- text- the text to enter.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
filterByDateInvokes the filter according to the specified date.- Parameters:
- date- the date by which to filter.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMultipleReturns whether multiple items can be selected.- Returns:
- True if multiple items can be selected.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items in the list box.- Parameters:
- items- a collection of- ListItemitems to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items according to their string values.- Parameters:
- items- a collection of items to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a list of items according to their indices.- Parameters:
- itemIndices- the item indices to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
singleSelectSelects one item in the list box.- Parameters:
- item- the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
singleSelectSelects one item in the list box.- Parameters:
- item- the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
singleSelectSelects one item in the list box.- Parameters:
- itemIndex- the item index to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects a list of items in the list box.- Parameters:
- items- a collection of- ListItemitems to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects a list of items in the list box.- Parameters:
- items- a collection of items to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects a list of items in the list box.- Parameters:
- itemIndices- a collection of item indices to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects a list of items in the list box.- Parameters:
- items- a collection of- ListItemitems to deselect.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects items (by text) from the list.- Parameters:
- items- the item names to deselect.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects items (by index) from the list.- Parameters:
- itemIndices- a collection of indices to deselect.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemReturns an item with the given text.- Parameters:
- text- the text of the specified item.
- Returns:
- an item with the specified text.
 
- 
getValueReturns this object's text value.- Returns:
- this object's text value.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDefaultValueReturns the initial text value, which is set when the object is reset.- Returns:
- the initial text value, which is set when the object is reset.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTypeReturns the attribute "type" of the HTML element.- Returns:
- the attribute "type" of the HTML element.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getVisibleItemsCountReturns the number of items that are displayed in the list box.- Returns:
- the number of items that are displayed in the list box.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-