ReportStepResult Method

Writes an event to the test report.

Remarks

Use this method during run to report the action performed and its status. In general, call ReportStepResult at the end of the function.

Syntax

Visual Basic (Declaration) 
Overridable Sub ReportStepResult( _
   ByVal StepName As String, _
   ByVal Status As EventStatus, _
   ByVal ParamArray list() As Object _
) 
C# 
virtual void ReportStepResult( 
   string StepName,
   EventStatus Status,
   params object[] list
)

Parameters

StepName
The step name as it will appear in the report.
Status
A value of the EventStatus Enumeration.
list

The arguments passed to the test step function. Zero or more arguments, passed as an array of values. Pass parameters only of data types that can be stored in a Variant.

See Also