Class WebTable<TRow>

Namespace
ProtoTest.Web
Assembly
ProtoTest.Web.dll

Typed table foundation built on the same lazy component collection as lists and grids.

public abstract class WebTable<TRow> : WebComponent where TRow : WebComponent, new()

Type Parameters

TRow
Inheritance
WebTable<TRow>
Inherited Members
Extension Methods

Properties

RowLocator

Override for legacy tables or grids whose rows need CSS or another semantic locator.

protected virtual WebLocator RowLocator { get; }

Property Value

WebLocator

Rows

public WebComponentCollection<TRow> Rows { get; }

Property Value

WebComponentCollection<TRow>

Methods

RowAt(int, string?)

Returns a lazy row at a zero-based index.

public TRow RowAt(int index, string? name = null)

Parameters

index int
name string

Returns

TRow

RowMatching(WebLocator, string?)

Returns a strict lazy row selected by a semantic filter such as By.HasText().

public TRow RowMatching(WebLocator condition, string? name = null)

Parameters

condition WebLocator
name string

Returns

TRow

RowNumber(int, string?)

Returns a lazy row by one-based number.

public TRow RowNumber(int number, string? name = null)

Parameters

number int
name string

Returns

TRow