Package com.hp.lft.sdk.java
Interface Menu
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A Java Menu.
- 
Method SummaryModifier and TypeMethodDescriptiongetSubMenu(String subMenuPath) Returns a sub-menu of this menu.Returns a list of the sub-menus that are direct children of this menu.getText()Returns the menu's text.voidselect()Selects this Java menu.voidselectSubMenu(String subMenuPath) Selects the specified sub-menu.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.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.java.UiObjectBasecreateObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods 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- 
selectSelects this Java menu.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTextReturns the menu's text.- Returns:
- the menu's text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubMenuReturns a sub-menu of this menu.- Parameters:
- subMenuPath- the path of the sub-menu. Elements of the path are separated by semicolon (;).
- Returns:
- the Menu test object representing the sub-menu with the specified path.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSubMenuSelects the specified sub-menu.- Parameters:
- subMenuPath- the path of the sub-menu. Elements of the path are separated by semicolon (;).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubMenusReturns a list of the sub-menus that are direct children of this menu.- Returns:
- a list of direct child sub-menus.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-