ElementNotFoundException

Description

The ElementNotFoundException is thrown by the FindAllInstances, FindAllInstances<T>, ScrollAndFindElement and WaitFor method, when an OnScreenElement could not be found on the SUT with the current parameters.

The ElementNotFoundException inherits from TestStepAbortedException, so the impact on the Test Case execution is the same: The test case is aborted, the cleanup step and then the teardown step are executed if available and the Aborted result is reported.

ElementNotFoundException Class

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

Inheritance Hierarchy:

Object Exception TrioExecutionException TestStepAbortedException Progile.TRIO.BaseModel.ElementNotFoundException

Constructors

Syntax:

public ElementNotFoundException(
	OnScreenElement element
)

Parameter

Description

element

Type: OnScreenElement The element that could not be found, will be logged with its display name.

Last updated