Package com.hp.lft.sdk.sap.ui5
Interface RowRepeater
- All Superinterfaces:
Clickable
,LocationInfoProvider
,SupportDragAndDrop
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,VisibleProvider
,WaitUntilVisibleProvider
,WebElement
,WebTestObject
,WebTestObjectDescriber
An SAPUI5 row repeater object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clicks the specified filter button.int
findRowWithCellTextInColumn
(String text, int columnNumber) Returns the index of the first row containing the specified text in the specified column.int
findRowWithCellTextInColumn
(String text, int columnNumber, int startFromRow) Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.void
Scrolls to the first page.getCellData
(int rowIndex, int columnIndex) Gets the contents of the specified cell.int
Returns the index of the currently selected page.Returns the visual design of the row repeater.Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.int
Returns the total number of pages.int
Returns the number of visible rows.Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.boolean
Returns whether the More button is visible.void
lastPage()
Scrolls to the last page.void
more()
Displays additional rows.void
navigateTo
(int pageNum) Scrolls to the specified page.void
nextPage()
Scrolls to the next page.void
Scrolls to the previous page.void
Clicks the specified sort button.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
-
getCurrentPage
Returns the index of the currently selected page.- Returns:
- The index of the currently selected page.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getPagesCount
Returns the total number of pages.- Returns:
- The total number of pages.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getRowsCount
Returns the number of visible rows.- Returns:
- The number of visible rows.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getDesign
Returns the visual design of the row repeater.- Returns:
- The visual design of the row repeater. Possible values:
RowRepeaterDesign
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getFilters
Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.- Returns:
- A semicolon-delimited list of the filter buttons that you can use to filter the rows.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSorters
Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.- Returns:
- A semicolon-delimited list of the sort buttons that you can use to sort the rows.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
hasMoreSteps
Returns whether the More button is visible.- Returns:
- True if the More button is visible.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
filterBy
Clicks the specified filter button.- Parameters:
filterName
- the name of the filter button to click.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sortBy
Clicks the specified sort button.- Parameters:
sorterName
- The name of the sort button to click.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
more
Displays additional rows. (Relevant only if the More button is visible.)- Throws:
GeneralLeanFtException
- if error occurs during execution
-
firstPage
Scrolls to the first page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
lastPage
Scrolls to the last page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
previousPage
Scrolls to the previous page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
nextPage
Scrolls to the next page.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellTextInColumn
Returns the index of the first row containing the specified text in the specified column.- Parameters:
text
- text to search for.columnNumber
- the column number to search (1-based).- Returns:
- The row number, or -1 if the text is not found.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellTextInColumn
int findRowWithCellTextInColumn(String text, int columnNumber, int startFromRow) throws GeneralLeanFtException Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.- Parameters:
text
- text to search for.columnNumber
- the column number to search (1-based).startFromRow
- the row number to start the search from (1-based).- Returns:
- The row number, or -1 if the text is not found.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getCellData
Gets the contents of the specified cell.- Parameters:
rowIndex
- the row index (1-based).columnIndex
- the column index (1-based).- Returns:
- The contents of the specified cell.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-