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 SummaryMethods 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.TestObjectDescriberdescribe
- 
Method Details- 
getItemsReturns the list of the items in the menu bar.- Returns:
- the list.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
buildMenuPathReturns 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
 
- 
selectSelects 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
 
 
-