ThrowRunError Method
UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in by default.
If you need to use and extend the Silverlight Add-in, contact OpenText Support.
| Overload | Description |
|---|---|
| ThrowRunError(RunErrors) | Throws an exception based on the specified error and sets the step status to EventStatus.EVENTSTATUS_FAIL. |
| ThrowRunError(String) | Throws an exception based on the specified error message and sets the step status to EventStatus.EVENTSTATUS_FAIL. |
The error message is taken from the RunErrors Enumeration.

