Label
A Label is the simplest OnScreenElement that offers no additional interactions on top of the OnScreenElements methods. The main uses of a label are to verify that it is displayed, or to use its position to define e.g. a Select Filter.
Namespace: Progile.TRIO.BaseModel
Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Syntax:
public Label(
ITester tester,
string displayName,
ImageReference imageReference,
params IImageFilter[] filters
)
Parameter | Description |
tester | The tester interface. |
displayName | Type: String
The name of the element that will be used for logging and reporting of exceptions (customer facing). |
imageReference | |
[filters] | Type: IImageFilter[ ]
Typically a Select filter indicating the area of interest for the image searches. |
Syntax:
public Label(
ITester tester,
string displayName,
string searchText,
params IImageFilter[] filters
)
Parameter | Description |
tester | The tester interface. |
displayName | Type: String
The name of the element that will be used for logging and reporting of exceptions (customer facing). |
searchText | |
[filters] | Type: IImageFilter[ ]
Typically a Select filter indicating the area of interest for the image searches. |
Last modified 2yr ago