Package com.hp.lft.sdk.sap.gui
Interface ComboBox
- All Superinterfaces:
- Element,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- WaitUntilEnabledProvider
A combo box in a SAP GUI for Windows application.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the static text attached to the combo box.Returns the item specified by the item text.getItems()Returns the list of the items in the combo box.Returns the selected item.voidselect(int itemIndex) Selects the specified item by index.voidselect(ComboBoxItem item) Selects the item from the combo box list.voidSelects the specified item by text.voidSelects the SAP shortcut key representing an item in the combo box list.voidsetFocus()Sets focus on the combo 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.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, waitUntilEnabled
- 
Method Details- 
getAttachedTextReturns the static text attached to the combo box.- Returns:
- the static text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemsReturns the list of the items in the combo box.- Returns:
- the list of items.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemReturns the selected item.- Returns:
- the selected item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemReturns the item specified by the item text.- Parameters:
- itemText- the text of the item.
- Returns:
- the item specified by the item text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified item by text.- Parameters:
- itemText- the text of the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified item by index.- Parameters:
- itemIndex- 1-based.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the item from the combo box list.- Parameters:
- item- the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectKeySelects the SAP shortcut key representing an item in the combo box list.- Parameters:
- itemKey- the SAP shortcut key.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setFocusSets focus on the combo box.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-