TableBase

A Table is added to the Software as a Screen Element on a Screen. Follow this guide to create your own Table Class which will inherit from TableBase.

Description

Abstract base class for tables. Needs to be inherited to implement specific methods to define containing rectangle and columns. Can be used with provided Column and Row or inherited implementations of Column and Row.

TableBase(TColumn, TRow) Class (abstract)

Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)

Type Parameters:

Type Parameter

Description

TColumn

The type of column that shall be used for the table.

TRow

The type of row that shall be used for the table.

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.TableBase<TColumn, TRow>

Constructors

TableBase(ITester, string, ImageReference, IImageFilter[ ])

Syntax:

protected TableBase(
	ITester tester,
	string displayName,
	ImageReference imageReference,
	params IImageFilter[] filters
)

Parameter

Description

tester

The tester interface.

displayName

imageReference

filters

TableBase(ITester, string, string, IImageFilter[ ])

Syntax:

protected TableBase(
	ITester tester,
	string displayName,
	string searchText,
	params IImageFilter[] filters
)

Parameter

Description

tester

The tester interface.

displayName

searchText

filters

Methods

Name

Description

Returns a Select filter of a particular cell in the provided column and row

Searches a specific row based on a text or image search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.

Verifies the text in a particular cell in the provided column and row matches the contentToVerify

Properties

Name

Description

Gets or sets the scroller for the table.

Gets the Select filter for the table.

Last updated