Table of Contents

Interface IMenu

Namespace
HP.LFT.SDK.Java
Assembly
HP.LFT.SDK.dll

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.

public interface IMenu : IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber, IItemTextRepresentationProvider
Inherited Members
Extension Methods

Properties

SubMenus

A collection of all sub menus of this menu.

ReadOnlyCollection<IMenu> SubMenus { get; }

Property Value

ReadOnlyCollection<IMenu>

Text

The menu text.

string Text { get; }

Property Value

string

Methods

GetSubMenu(string)

Returns a sub menu of this menu.

IMenu GetSubMenu(string subMenuPath)

Parameters

subMenuPath string

the path of the sub menu (separated by ';' char).

Returns

IMenu

Select()

Selects this Java menu item.

void Select()

SelectSubMenu(string)

Selects the specified sub menu.

void SelectSubMenu(string subMenuPath)

Parameters

subMenuPath string

the path of the sub menu (separated by ';' char).