Package com.hp.lft.sdk.sap.gui
Interface Menubar
- All Superinterfaces:
Element
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
A menubar control in a SAP GUI for Windows application.
-
Method Summary
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
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
-
Method Details
-
getItems
Returns the list of the items in the menu bar.- Returns:
- the list.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
buildMenuPath
Returns the path of the specified menu item.- Parameters:
menuPathParts
- The menu path elements can be: logical name(string), full path(string), or numeric index(int). Index values are 1-based. Separate path elements with a semicolon (;).- Returns:
- the path of the specified menu item.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects an item from the menu bar. You can use the buildMenuPath method to build the item path string to be used as the itemPath argument for this method.- Parameters:
path
- the full path of the menu item to select. The path is composed of the menu and sub-menu item names and/or numeric index numbers.- Throws:
GeneralLeanFtException
- if error occurs during execution
-