Package com.hp.lft.sdk.powerbuilder
Interface ComboBox
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- UiObjectWithLayoutInfo,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A PowerBuilder combo box.
- 
Method SummaryModifier and TypeMethodDescriptiongetItems()Returns a list of strings containing the names of all items in the combo box.Returns the selected item in the combo box.voidselect(int index) Selects an item from the combo box based on a numerical index.voidSelects an item from the combo box based on a string.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.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.powerbuilder.UiObjectBasegetAttachedText, getObjectName, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowId, getWindowStyleMethods inherited from interface com.hp.lft.sdk.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.powerbuilder.UiObjectWithLayoutInfoisRightAligned, isRightToLeftLayout, isRightToLeftReadingMethods 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 a list of strings containing the names of all items in the combo box.- Returns:
- a list of strings containing the names of all items in the combo box.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemReturns the selected item in the combo box.- Returns:
- the selected item in the combo box.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from the combo box based on a numerical index.- Parameters:
- index- numeric, 0-based, index of the item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item from the combo box based on a string.- Parameters:
- item- the item value.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-