Package com.hp.lft.sdk.sap.ui5
Interface ToolBar
- All Superinterfaces:
- Clickable,- LocationInfoProvider,- SupportDragAndDrop,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilVisibleProvider,- WebElement,- WebTestObject,- WebTestObjectDescriber
An SAPUI5 tool bar object.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the visual design of the toolbar.intReturns the number of the items in the left part of the toolbar. This number includes separators, but does not include the overflow button.intReturns the number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.intReturns the number of the items in the right part of the toolbar, including separators.booleanReturns whether the toolbar is independent or nested in another control.voidOpens the overflow menu that displays additional toolbar items.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElementdoubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectgetAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriberdescribe, describe
- 
Method Details- 
isStandaloneReturns whether the toolbar is independent or nested in another control.- Returns:
- True if the toolbar is independent.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDesignReturns the visual design of the toolbar.- Returns:
- the visual design of the toolbar. Possible values: ToolBarDesign
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getLeftItemsCountReturns the number of the items in the left part of the toolbar. This number includes separators, but does not include the overflow button.- Returns:
- The number of the items in the left part of the toolbar (including the separators and excluding the overflow button).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getMiddleItemsCountReturns the number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.- Returns:
- The number of the items in the middle part of the toolbar (including the separators and excluding the overflow button).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getRightItemsCountReturns the number of the items in the right part of the toolbar, including separators.- Returns:
- The number of the items in the right part of the toolbar, including separators.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
openOverflowOpens the overflow menu that displays additional toolbar items.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-