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 Summary
Modifier 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.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods 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, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
select
Selects this Java menu.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getText
Returns the menu's text.- Returns:
- the menu's text.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSubMenu
Returns 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
-
selectSubMenu
Selects 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
-
getSubMenus
Returns 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
-