Share this page

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

C# 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

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: