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 | Type: Column The type of column that shall be used for the table. |
TRow | Type: Row 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:
Parameter | Description |
tester | Type: ITester The tester interface. |
displayName | Type: String The name of the table that will be used for logging and reporting of exceptions (customer facing). |
imageReference | Type: ImageReference The image reference that will be used to locate the table on the screen. |
filters | Type: IImageFilter[ ] Typically a Select filter indicating the area of interest for the image search. |
TableBase(ITester, string, string, IImageFilter[ ])
Syntax:
Parameter | Description |
tester | Type: ITester The tester interface. |
displayName | Type: String The name of the table that will be used for logging and reporting of exceptions (customer facing). |
searchText | Type: String The search text that will be used to locate the table on the screen. |
filters | Type: IImageFilter[ ] Typically a Select filter indicating the area of interest for the text search. |
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. | |
Similar to GetRow, but checks that additional values are as expected in additional columns. Useful when main search column contains multiple rows with same value, that can be distinguished by values in other columns. | |
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