Interface IMenubar
A menubar control in a SAP GUI for Windows application.
public interface IMenubar : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject
- Inherited Members
- Extension Methods
Properties
Items
The list of the items in the menu bar.
ReadOnlyCollection<string> Items { get; }
Property Value
Methods
BuildMenuPath(params object[])
Returns the path of the specified menu item.
string BuildMenuPath(params object[] menuPathParts)
Parameters
menuPathPartsobject[]The menu path elements can be: logical name(string), full path(string), or numeric index(int).
Index values are 1-based.
Separate path elements with a semicolon (;).
Returns
Select(string)
Selects an item from the menu bar.
void Select(string path)
Parameters
pathstringThe full path of the menu item to select. The path is composed of the menu and sub-menu item names and/or numeric index numbers.
Separate path elements with a semicolon (;).
Remarks
Your can use the BuildMenuPath method to build the item path string to be used as the itemPath argument for this method.