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.
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
Text
The menu text.
string Text { get; }
Property Value
Methods
GetSubMenu(string)
Returns a sub menu of this menu.
IMenu GetSubMenu(string subMenuPath)
Parameters
subMenuPathstringthe path of the sub menu (separated by ';' char).
Returns
Select()
Selects this Java menu item.
void Select()
SelectSubMenu(string)
Selects the specified sub menu.
void SelectSubMenu(string subMenuPath)
Parameters
subMenuPathstringthe path of the sub menu (separated by ';' char).