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