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 Summary
Modifier 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.void
select
(int index) Selects an item from the combo box.void
Selects an item from the 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.wpf.UiObjectBase
canFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenu
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 the combo box.- Returns:
- the names of the items in the combo box
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSelectedItem
Returns the item that is selected in the combo box.- Returns:
- the selected item
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects an item from the combo box.- Parameters:
index
- 0-based index of the item- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects an item from the combo box.- Parameters:
item
- the item value- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getParentText
Returns 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
-
getName
Returns the name of the object.- Returns:
- the name
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getHelpText
Returns the help text associated with this object.- Returns:
- the help text
- Throws:
GeneralLeanFtException
- if error occurs during execution
-