OnScreenElement

Description

The general idea of the BaseModel is that everything that is shown on the screen inherits from the OnScreenElement. The most important functionalities supported by the OnScreenElement class are the possibility to wait for the element, which ensures the element is displayed on the screen before interacting with it, and the Do method, which ensures the interactions with the element are verified and retried if necessary.‌

OnScreenElement Class (abstract)

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

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement‌

Constructors

OnScreenElement(ITester, string, bool ,ImageReference[])

Syntax:

public OnScreenElement(
	ITester tester,
	string displayName,
	bool useVisualSense,
	params ImageReference[] imageReference
)

Exceptions:

OnScreenElement(ITester, string, ImageReference[])

Syntax:

public OnScreenElement(
	ITester tester,
	string displayName,
	params ImageReference[] imageReference
)

Exceptions:

OnScreenElement(ITester, string, bool, string)

Syntax:

public OnScreenElement(
	ITester tester,
	string displayName,
	bool useVisualSense,
	string searchText
)

Exceptions:

OnScreenElement(ITester, string, string)

Syntax:

public OnScreenElement(
	ITester tester,
	string displayName,
	string searchText
)

Exceptions:

Methods

Protected Methods

Properties

Protected Properties

Last updated