Interface INavigationBar
An SAPUI5 navigation bar object.
Inherited Members
Namespace: HP.LFT.SDK.SAP.UI5
Assembly: HP.LFT.SDK.dll
Syntax
public interface INavigationBar : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Properties
Items
Returns all the items in the navigationbar.
Declaration
ReadOnlyCollection<INavigationBarItem> Items { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<INavigationBarItem> |
SelectedItem
Returns the selected item in the navigationbar or null if none.
Declaration
INavigationBarItem SelectedItem { get; }
Property Value
| Type | Description |
|---|---|
| INavigationBarItem |
Methods
GetItem(string)
Returns a specified item from the navigation bar.
Declaration
INavigationBarItem GetItem(string itemText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemText | the text of the item to get. |
Returns
| Type | Description |
|---|---|
| INavigationBarItem | The specified item from the navigation bar. |
OpenMenu()
Opens the popup menu to show hidden navigation items.
Declaration
void OpenMenu()
Select(INavigationBarItem)
Selects the specified item in the navigation bar.
Declaration
void Select(INavigationBarItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| INavigationBarItem | item | the item to select. |
Select(string)
Selects the specified item (by name) in the navigation bar.
Declaration
void Select(string itemText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemText | text of the item to select. |