ElementNotFoundException
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:
public ElementNotFoundException(
OnScreenElement element
)
Parameter | Description |
element |
Last modified 4mo ago