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 Summary
Modifier 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.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElement
doubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber
describe, describe
-
Method Details
-
isStandalone
Returns whether the toolbar is independent or nested in another control.- Returns:
- True if the toolbar is independent.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getDesign
Returns the visual design of the toolbar.- Returns:
- the visual design of the toolbar. Possible values:
ToolBarDesign - Throws:
GeneralLeanFtException- if error occurs during execution
-
getLeftItemsCount
Returns 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
-
getMiddleItemsCount
Returns 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
-
getRightItemsCount
Returns 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
-
openOverflow
Opens the overflow menu that displays additional toolbar items.- Throws:
GeneralLeanFtException- if error occurs during execution
-