Table of Contents

Interface IMenubar

Namespace
HP.LFT.SDK.SAP.GUI
Assembly
HP.LFT.SDK.dll

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

ReadOnlyCollection<string>

Methods

BuildMenuPath(params object[])

Returns the path of the specified menu item.

string BuildMenuPath(params object[] menuPathParts)

Parameters

menuPathParts object[]

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

string

Select(string)

Selects an item from the menu bar.

void Select(string path)

Parameters

path string

The 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.