InteractionFailedException

Description

The InteractionFailedException is thrown, when an interaction with SUT is not successful. Typically these interactions are done in a Do method on an OnScreenElement and thus have a built-in retry. If the interaction is still not successful after the retries, the InteractionFailedException is thrown.

The InteractionFailedException 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.

InteractionFailedException Class

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

Inheritance Hierarchy:

Object Exception TrioExecutionException TestStepAbortedException Progile.TRIO.BaseModel.InteractionFailedException

Constructors

Syntax:

public InteractionFailedException(
	string interaction
)

Parameter

Description

interaction

Type: String The name of the method that failed.

Last updated