ThrowRunError(RunErrors) 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 OpenText Support.

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

Syntax

Visual Basic (Declaration) 
Overloads Overridable Sub ThrowRunError( _
   ByVal error As RunErrors _
) 
C# 
virtual void ThrowRunError( 
   RunErrors error
)

Parameters

error
A value of the RunErrors Enumeration.

See Also