Table of Contents

Class GuiMenubar

Namespace
SapGui.Wrapper
Assembly
SapGui.Wrapper.dll

Wraps the SAP GUI menu bar (GuiMenubar). To navigate to a menu item, use SelectItem(GuiSession, string) or call session.Menu("wnd[0]/mbar/menu[0]/menu[1]").Select() directly.

public class GuiMenubar : GuiComponent
Inheritance
GuiMenubar
Inherited Members

Properties

Count

Number of top-level menu entries.

public int Count { get; }

Property Value

int

Methods

SelectItem(GuiSession, string)

Selects a menu item by navigating to it via its full ID path and calling Select().

public void SelectItem(GuiSession session, string itemId)

Parameters

session GuiSession

The active SAP session.

itemId string

Full SAP component ID path, e.g. "wnd[0]/mbar/menu[0]/menu[1]".