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 TypeMethodDescriptionvoid
collapse
(int itemIndex) Collapses the specified panel in the accordion.void
Collapses the specified panel in the accordion.void
expand
(int itemIndex) Expands the specified panel in the accordion.void
Expands 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, 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
-
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
-