ScreenNotFoundException

Description

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

The ScreenNotFoundException inherits from ElementNotFoundException which 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.

ScreenNotFoundException Class

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

Inheritance Hierarchy:

Object Exception TrioExecutionException TestStepAbortedException ElementNotFoundException Progile.TRIO.BaseModel.ScreenNotFoundException

Constructors

Syntax:

public ScreenNotFoundException(
	BaseScreen element
)

Parameter

Description

element

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

Last updated