Package com.hp.lft.sdk.sap.ui5
Interface Paginator
- All Superinterfaces:
Clickable,LocationInfoProvider,SupportDragAndDrop,SupportsNativeObject,TestObject,TestObjectDescriber,VisibleProvider,WaitUntilVisibleProvider,WebElement,WebTestObject,WebTestObjectDescriber
An SAPUI5 paginator object.
-
Method Summary
Modifier and TypeMethodDescriptionvoidScrolls to the first page.intReturns the index of the currently selected page.intReturns the total number of pages.intReturns the number of pages currently visible in the paginator.voidlastPage()Scrolls to the last page.voidnavigateTo(int pageNum) Navigates to the specified page.voidnextPage()Scrolls to the next page.voidScrolls to the previous page.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
-
getCurrentPage
Returns the index of the currently selected page.- Returns:
- The index of the currently selected page.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getTotalPagesCount
Returns the total number of pages.- Returns:
- the total number of pages.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getVisiblePagesCount
Returns the number of pages currently visible in the paginator.- Returns:
- The number of pages currently visible in the paginator.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
firstPage
Scrolls to the first page.- Throws:
GeneralLeanFtException- if error occurs during executionGeneralReplayException- if error occurs during replay execution
-
lastPage
Scrolls to the last page.- Throws:
GeneralLeanFtException- if error occurs during executionGeneralReplayException- if error occurs during replay execution
-
previousPage
Scrolls to the previous page.- Throws:
GeneralLeanFtException- if error occurs during executionGeneralReplayException- if error occurs during replay execution
-
nextPage
Scrolls to the next page.- Throws:
GeneralLeanFtException- if error occurs during executionGeneralReplayException- if error occurs during replay execution
-