Package com.hp.lft.sdk.wpf
Interface Menu
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET WPF menu object.
- 
Method SummaryModifier and TypeMethodDescriptionbuildMenuPath(Object... menuPathParts) Returns the path constructed from the path parts.Returns the item at the specified path in the menu.voidSelects the specified item in the menu.
 You can usegetItem(String)to get the item to use as the item argument.voidSelects the item at the specified path in the menu.
 You can usebuildMenuPath(Object...)to build the itemPath argument.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.wpf.UiObjectBasecanFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenuMethods 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- 
buildMenuPathReturns the path constructed from the path parts.- Parameters:
- menuPathParts- The menu path parts can be: logical name(string), full path(comma-separated strings), or index(1-based).
- Returns:
- the path of the specified menu item.
 
- 
selectSelects the specified item in the menu.
 You can usegetItem(String)to get the item to use as the item argument.- Parameters:
- item- item to select
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the item at the specified path in the menu.
 You can usebuildMenuPath(Object...)to build the itemPath argument.- Parameters:
- itemPath- the path of the item to select. To specify the 1-based index of the item to select, use <Item #>.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemReturns the item at the specified path in the menu.- Parameters:
- itemPath- the full path of the menu item to select from the list. The path is composed of the menu item names or a 1-based index separated by a semicolon. To specify the 1-based index of the item to select, use <Item #>.
- Returns:
- MenuItem representing the menu item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-