ReportEvent(String,String,Status,String) Method
Adds a custom step to the UFT Developer report including the image from the specified path.

C# Syntax

public static void ReportEvent( 
   string stepName,
   string description,
   Status status,
   string imagePath
)

Parameters

stepName
The name of the reported step. This name is the label of the step node in the report.
description
The description of the reported step. The description is displayed in the Details pane of the report.
status
The Status for the step.
imagePath
The full path of the image to display for the step. Supported image types: BMP, GIF, JPEG, PNG, TIFF