Links

Label

Description

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.

Label Class

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

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.Label

Constructors

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

Syntax:
public Label(
ITester tester,
string displayName,
ImageReference imageReference,
params IImageFilter[] filters
)
Parameter
Description
tester
Type: ITester
The tester interface.
displayName
Type: String The name of the element 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 label on the screen.
[filters]
Type: IImageFilter[ ] Typically a Select filter indicating the area of interest for the image searches.

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

Syntax:
public Label(
ITester tester,
string displayName,
string searchText,
params IImageFilter[] filters
)
Parameter
Description
tester
Type: ITester
The tester interface.
displayName
Type: String The name of the element 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 label on the screen.
[filters]
Type: IImageFilter[ ] Typically a Select filter indicating the area of interest for the image searches.