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.int
Returns the number of the items in the left part of the toolbar. This number includes separators, but does not include the overflow button.int
Returns the number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.int
Returns the number of the items in the right part of the toolbar, including separators.boolean
Returns whether the toolbar is independent or nested in another control.void
Opens the overflow menu that displays additional toolbar items.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
Methods 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, swipe
Methods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisible
Methods 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
-