ThrowRunError(String) Method

UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in out of the box.

If you need to use and extend the Silverlight Add-in, contact Micro Focus Support.

Throws an exception based on the specified error message and sets the step status to EventStatus.EVENTSTATUS_FAIL.

Syntax

Visual Basic (Declaration) 
Overloads Overridable Sub ThrowRunError( _
   ByVal Message As String _
) 
C# 
virtual void ThrowRunError( 
   string Message
)

Parameters

Message
The error message.

See Also