Table of Contents

Interface IRowRepeater

Namespace
HP.LFT.SDK.SAP.UI5
Assembly
HP.LFT.SDK.dll

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

uint

Design

The visual design of the row repeater. Possible values: RowRepeaterDesign

RowRepeaterDesign Design { get; }

Property Value

RowRepeaterDesign

Filters

A semicolon-delimited list of the filter buttons for filtering the rows.

ReadOnlyCollection<string> Filters { get; }

Property Value

ReadOnlyCollection<string>

HasMoreSteps

Indicates whether the More button is visible.

bool HasMoreSteps { get; }

Property Value

bool

PagesCount

Returns the total number of pages in the row repeater.

uint PagesCount { get; }

Property Value

uint

RowsCount

Returns the number of visible rows in the row repeater.

uint RowsCount { get; }

Property Value

uint

Sorters

A semicolon-delimited list of the sort buttons for sorting the rows.

ReadOnlyCollection<string> Sorters { get; }

Property Value

ReadOnlyCollection<string>

Methods

FilterBy(string)

Clicks the specified filter button.

void FilterBy(string filterName)

Parameters

filterName string

The 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

text string

text to search for.

columnNumber uint

the column number to search (1-based).

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

text string

text to search for.

columnNumber uint

the column number to search (1-based).

startFromRow uint

the 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

rowIndex uint

the row index (1-based).

columnIndex uint

the column index (1-based).

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

pageNum uint

The 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

sorterName string

The name of the sort button to click.