Interface IMenubar
An SAPUI5 menubar object.
Inherited Members
Namespace: HP.LFT.SDK.SAP.UI5
Assembly: HP.LFT.SDK.dll
Syntax
public interface IMenubar : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop, IEnabledProvider
Properties
Items
Returns all the items in the menubar.
Declaration
ReadOnlyCollection<IMenubarItem> Items { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<IMenubarItem> |
Methods
GetItem(string)
Retrieve an item from the menubar.
Declaration
IMenubarItem GetItem(string itemText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemText | text of the item to retrieve |
Returns
| Type | Description |
|---|---|
| IMenubarItem |
Select(IMenubarItem)
Selects the specified menubar item.
Declaration
void Select(IMenubarItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| IMenubarItem | item | the item to select |
Select(string)
Selects the specified menubar item.
Declaration
void Select(string itemText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemText | text of the item to select |
Select(uint)
Selects the specified menubar item.
Declaration
void Select(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | index of the item to select, 1 based |