Package com.hp.lft.sdk.wpf
Interface List
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET WPF list object.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIndicates whether this list allows more than one child element to be selected at the same time.voiddeselect(int... itemIndices) Deselects items from the list.voidDeselects items from the list.voidextendSelect(int... itemIndices) Selects additional items from the multi-selection list.voidextendSelect(String... items) Selects additional items from the multi-selection list.Returns the help text associated with this object.getItems()Returns the list of items in the list object.getName()Returns the name of this object.Returns the text associated with the parent object of this object.Returns the list of items that are selected in the list object.voidselect(int... itemIndices) Selects multiple items by indices.voidSelects multiple items by string values.voidselectRange(int indexFrom, int indexTo) Selects list items between (and including) the two specified items.voidselectRange(String itemNameFrom, String itemNameTo) Selects list items between (and including) the two specified items.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods 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.SupportSendKeyssendKeys, sendKeysMethods 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.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.wpf.UiObjectBasecanFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenuMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
canSelectMultipleIndicates whether this list allows more than one child element to be selected at the same time.- Returns:
- true if more than one child element can be selected
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getParentTextReturns the text associated with the parent object of this object.- Returns:
- the text associated with the parent
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of this object.- Returns:
- the name
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getHelpTextReturns the help text associated with this object.- Returns:
- the help text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects items from the list.- Parameters:
- items- the texts of the items to deselect
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectDeselects items from the list.- Parameters:
- itemIndices- 0-based indices of the items to deselect
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects multiple items by string values.- Parameters:
- items- string values of the items to select
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects multiple items by indices.- Parameters:
- itemIndices- the indices of the items to select
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional items from the multi-selection list.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- items- the names of the items to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional items from the multi-selection list.
 This method is applicable only to lists that allow multiple selection.- Parameters:
- itemIndices- the indices of the items to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects list items between (and including) the two specified items.- Parameters:
- indexFrom- 0-based index of the first item in the range
- indexTo- 0-based index of the last item of the range
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects list items between (and including) the two specified items.- Parameters:
- itemNameFrom- name of the first item in the range
- itemNameTo- name of the last item of the range
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemsReturns the list of items in the list object.- Returns:
- the texts of the items
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemsReturns the list of items that are selected in the list object.- Returns:
- the texts of the selected items
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-