Package com.hp.lft.sdk.winforms
Interface ComboBox
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET Windows Forms combo box.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the tooltip text of the error icon associated with this object.getItems()Returns the names of the items in this combo box.Returns the selected item in this combo box.voidselect(int index) Selects an item from this combo box.voidSelects an item from this 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.winforms.UiObjectBasefireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods 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 this combo box.- Returns:
- the names
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemReturns the selected item in this combo box.- Returns:
- the selected item
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from this combo box.- Parameters:
- index- 0-based index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from this combo box.- Parameters:
- item- the item value
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getErrorTextReturns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text of the error icon associated with this object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-