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.void
select()
Selects this Java menu.void
selectSubMenu
(String subMenuPath) Selects the specified sub-menu.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
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
Methods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-