Interface IMenu
A Java Menu. Each JavaMenu test object represents an individual menu item. A step that performs an operation on a particular menu item must contain the full hierarchy of JavaMenu test objects that represents the actual menu hierarchy.
Inherited Members
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface IMenu : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber, IItemTextRepresentationProvider
Properties
SubMenus
A collection of all sub menus of this menu.
Declaration
ReadOnlyCollection<IMenu> SubMenus { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<IMenu> |
Text
The menu text.
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetSubMenu(string)
Returns a sub menu of this menu.
Declaration
IMenu GetSubMenu(string subMenuPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | subMenuPath | the path of the sub menu (separated by ';' char). |
Returns
| Type | Description |
|---|---|
| IMenu |
Select()
Selects this Java menu item.
Declaration
void Select()
SelectSubMenu(string)
Selects the specified sub menu.
Declaration
void SelectSubMenu(string subMenuPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | subMenuPath | the path of the sub menu (separated by ';' char). |