Interface IRowRepeater
An SAPUI5 row repeater object.
public interface IRowRepeater : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
- Inherited Members
- Extension Methods
Properties
CurrentPage
The index of the currently selected page.
uint CurrentPage { get; }
Property Value
Design
The visual design of the row repeater. Possible values: RowRepeaterDesign
RowRepeaterDesign Design { get; }
Property Value
Filters
A semicolon-delimited list of the filter buttons for filtering the rows.
ReadOnlyCollection<string> Filters { get; }
Property Value
HasMoreSteps
Indicates whether the More button is visible.
bool HasMoreSteps { get; }
Property Value
PagesCount
Returns the total number of pages in the row repeater.
uint PagesCount { get; }
Property Value
RowsCount
Returns the number of visible rows in the row repeater.
uint RowsCount { get; }
Property Value
Sorters
A semicolon-delimited list of the sort buttons for sorting the rows.
ReadOnlyCollection<string> Sorters { get; }
Property Value
Methods
FilterBy(string)
Clicks the specified filter button.
void FilterBy(string filterName)
Parameters
filterNamestringThe name of the filter button
FindRowWithCellTextInColumn(string, uint)
Returns the index of the first row containing the specified text in the specified column.
int FindRowWithCellTextInColumn(string text, uint columnNumber)
Parameters
Returns
- int
The row number, or -1 if the text is not found.
FindRowWithCellTextInColumn(string, uint, uint)
Starts the search at the specified row and returns the index of the first row containing the specified text in the specified column.
int FindRowWithCellTextInColumn(string text, uint columnNumber, uint startFromRow)
Parameters
textstringtext to search for.
columnNumberuintthe column number to search (1-based).
startFromRowuintthe row number to start the search from (1-based).
Returns
- int
The row number, or -1 if the text is not found.
FirstPage()
Scrolls to the first page.
void FirstPage()
GetCellData(uint, uint)
Returns the contents of the specified cell.
string GetCellData(uint rowIndex, uint columnIndex)
Parameters
Returns
- string
The contents of the specified cell.
LastPage()
Scrolls to the last page.
void LastPage()
More()
Displays additional rows. (Relevant only if the More button is visible.)
void More()
NavigateTo(uint)
Scrolls to the specified page.
void NavigateTo(uint pageNum)
Parameters
pageNumuintThe page number to navigate to.
NextPage()
Scrolls to the next page.
void NextPage()
PreviousPage()
Scrolls to the previous page.
void PreviousPage()
SortBy(string)
Clicks the specified sort button.
void SortBy(string sorterName)
Parameters
sorterNamestringThe name of the sort button to click.