Package com.hp.lft.sdk.sap.ui5
Interface Accordion
- All Superinterfaces:
Clickable,LocationInfoProvider,SupportDragAndDrop,SupportsNativeObject,TestObject,TestObjectDescriber,VisibleProvider,WaitUntilVisibleProvider,WebElement,WebTestObject,WebTestObjectDescriber
An SAPUI5 accordion object.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollapse(int itemIndex) Collapses the specified panel in the accordion.voidCollapses the specified panel in the accordion.voidexpand(int itemIndex) Expands the specified panel in the accordion.voidExpands the specified panel in the accordion.getItems()Returns the list of the titles of all the panels contained in the accordion (separated by ;).Gets the title of the selected panel.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
-
getItems
Returns the list of the titles of all the panels contained in the accordion (separated by ;).- Returns:
- the list of the titles of all the panels contained in the accordion (separated by ;).
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedItem
Gets the title of the selected panel.- Returns:
- the title of the selected panel.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
expand
Expands the specified panel in the accordion.- Parameters:
item- the name of the panel to expand.- Throws:
GeneralLeanFtException- if error occurs during execution
-
expand
Expands the specified panel in the accordion.- Parameters:
itemIndex- the numeric index of the panel to expand. Index values are 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapse
Collapses the specified panel in the accordion.- Parameters:
item- the name of the panel to collapse.- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapse
Collapses the specified panel in the accordion.- Parameters:
itemIndex- the numeric index of the panel to collapse. Index values are 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-