Table of Contents

Interface IMenubar

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

An SAPUI5 menubar object.

public interface IMenubar : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop, IEnabledProvider
Inherited Members
Extension Methods

Properties

Items

Returns all the items in the menubar.

ReadOnlyCollection<IMenubarItem> Items { get; }

Property Value

ReadOnlyCollection<IMenubarItem>

Methods

GetItem(string)

Retrieve an item from the menubar.

IMenubarItem GetItem(string itemText)

Parameters

itemText string

text of the item to retrieve

Returns

IMenubarItem

Select(IMenubarItem)

Selects the specified menubar item.

void Select(IMenubarItem item)

Parameters

item IMenubarItem

the item to select

Select(string)

Selects the specified menubar item.

void Select(string itemText)

Parameters

itemText string

text of the item to select

Select(uint)

Selects the specified menubar item.

void Select(uint itemIndex)

Parameters

itemIndex uint

index of the item to select, 1 based