UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
ReportEvent(String,String,Status,Exception,Image) Method
The name of the reported step. This name is the label of the step node in the report.
The description of the reported step. The description is displayed in the Details pane of the report.
The Status for the step.
The exception that occurred.
The System.Drawing.Image to use for the step.
Adds a custom step to the LeanFT including the provided exception and image object.
Syntax
public static void ReportEvent( 
   string stepName,
   string description,
   Status status,
   Exception ex,
   Image image
)

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.
ex
The exception that occurred.
image
The System.Drawing.Image to use for the step.