UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
ReportEvent(String,String,Status,Exception,String) 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 full path of the image to display for the step. Supported image types: BMP, GIF, JPEG, PNG, TIFF
Adds a custom step to the LeanFT including exception details and the image from the specified path.
Syntax
public static void ReportEvent( 
   string stepName,
   string description,
   Status status,
   Exception ex,
   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.
ex
The exception that occurred.
imagePath
The full path of the image to display for the step. Supported image types: BMP, GIF, JPEG, PNG, TIFF