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 SummaryModifier and TypeMethodDescriptionvoidClicks the specified filter button.intfindRowWithCellTextInColumn(String text, int columnNumber) Returns the index of the first row containing the specified text in the specified column.intfindRowWithCellTextInColumn(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.voidScrolls to the first page.getCellData(int rowIndex, int columnIndex) Gets the contents of the specified cell.intReturns 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.intReturns the total number of pages.intReturns the number of visible rows.Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.booleanReturns whether the More button is visible.voidlastPage()Scrolls to the last page.voidmore()Displays additional rows.voidnavigateTo(int pageNum) Scrolls to the specified page.voidnextPage()Scrolls to the next page.voidScrolls to the previous page.voidClicks the specified sort button.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, 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.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElementdoubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectgetAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriberdescribe, describe
- 
Method Details- 
getCurrentPageReturns the index of the currently selected page.- Returns:
- The index of the currently selected page.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getPagesCountReturns the total number of pages.- Returns:
- The total number of pages.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getRowsCountReturns the number of visible rows.- Returns:
- The number of visible rows.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getDesignReturns 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
 
- 
getFiltersReturns 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
 
- 
getSortersReturns 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
 
- 
hasMoreStepsReturns whether the More button is visible.- Returns:
- True if the More button is visible.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
filterByClicks the specified filter button.- Parameters:
- filterName- the name of the filter button to click.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
sortByClicks the specified sort button.- Parameters:
- sorterName- The name of the sort button to click.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moreDisplays additional rows. (Relevant only if the More button is visible.)- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
firstPageScrolls to the first page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
lastPageScrolls to the last page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousPageScrolls to the previous page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextPageScrolls to the next page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findRowWithCellTextInColumnReturns 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
 
- 
findRowWithCellTextInColumnint 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
 
- 
getCellDataGets 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
 
 
-