IMenu

Mobilize.QualityMate.ControlInterfaces

IMenu Interface

Defines the basic interactions for Menu controls.

Technology

MenuBar

wm-menu

wm-toolstrip

public interface IMenu :
Mobilize.QualityMate.ControlInterfaces.IControl,
Mobilize.QualityMate.ControlInterfaces.Behavior.IValidatable,
Mobilize.QualityMate.ControlInterfaces.Behavior.IList<Mobilize.QualityMate.ControlInterfaces.IElement>

Implements IControl, IValidatable, Mobilize.QualityMate.ControlInterfaces.Behavior.IList<IElement>

Methods

IMenu.ClickTo(string[]) Method

Clicks the menu items indicated at the path.

void ClickTo(params string[] path);

Parameters

path System.String[]

Set of items of the menu.

IMenu.ContainsPath(string[]) Method

Validates if the specified path corresponds to the menu options of this control.

bool ContainsPath(params string[] path);

Parameters

path System.String[]

Set of items of the menu.

Returns

System.Boolean True if the indicated path corresponds to the menu options, false if not.

IMenu.GetItemAt(string[]) Method

Traverses the menu tree and returns the last menu item in the path.

Mobilize.QualityMate.ControlInterfaces.IElement GetItemAt(params string[] path);

Parameters

path System.String[]

Set of items in the menu.

Returns

IElement The last menu item in the desired path.

Last updated

Was this helpful?