Package com.hp.lft.sdk.wpf
Interface ComboBox
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET WPF combo box
- 
Method SummaryModifier and TypeMethodDescriptionReturns the help text associated with this object.getItems()Returns the names of the items in the combo box.getName()Returns the name of the object.Returns the text associated with the parent object of this object.Returns the item that is selected in the combo box.voidselect(int index) Selects an item from the combo box.voidSelects an item from the combo box.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- 
getItemsReturns the names of the items in the combo box.- Returns:
- the names of the items in the combo box
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemReturns the item that is selected in the combo box.- Returns:
- the selected item
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from the combo box.- Parameters:
- index- 0-based index of the item
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from the combo box.- Parameters:
- item- the item value
- 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 object of this object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of the 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
 
 
-