ElementNotFoundException
Last updated
Last updated
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.
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Object Exception TrioExecutionException TestStepAbortedException Progile.TRIO.BaseModel.ElementNotFoundException
Syntax:
Parameter
Description
element
Type: OnScreenElement The element that could not be found, will be logged with its display name.