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 Summary
Modifier 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.void
select
(int index) Selects an item from this combo box.void
Selects an item from this combo box.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMove
Methods inherited from interface com.hp.lft.sdk.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindow
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getItems
Returns the names of the items in this combo box.- Returns:
- the names
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSelectedItem
Returns the selected item in this combo box.- Returns:
- the selected item
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects an item from this combo box.- Parameters:
index
- 0-based index- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects an item from this combo box.- Parameters:
item
- the item value- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getErrorText
Returns 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
-