Reporter Class
Provides the means to report custom events, additional data, and configuration for the report. This class cannot be inherited.
C# Syntax
public static class Reporter 
Inheritance Hierarchy

System.Object
   HP.LFT.Report.Reporter

Public Properties
  Name Description
Public Property static (Shared in Visual Basic) ReportConfiguration The report configuration used for generating the report.  
Public Property static (Shared in Visual Basic) ReportDescription The LeanFT report description. The description appears directly below the title in the LeanFT report. By default, the description is empty.  
Public Property static (Shared in Visual Basic) ReportLevel The report level used to generate the LeanFT report. Possible values: ReportLevel.  
Public Property static (Shared in Visual Basic) ReportTitle The LeanFT report title. Default = Run Results.  
Public Property static (Shared in Visual Basic) SnapshotCaptureLevel The snapshot capture level used to generate the LeanFT report.  
Top
Public Methods
  Name Description
Public Method static (Shared in Visual Basic) AddRunInformation Adds a custom entry to the top section of the LeanFT report.  
Public Method static (Shared in Visual Basic) EndReportingContext Ends the section in the LeanFT report.  
Public Method static (Shared in Visual Basic) EndTest Ends the current test level and optionally sets the status for the test.  
Public Method static (Shared in Visual Basic) GenerateReport Generates the LeanFT report.  
Public Method static (Shared in Visual Basic) Init Initializes the specified ReportConfiguration.  
Public Method static (Shared in Visual Basic) ReportEvent Overloaded. Adds a custom step to the LeanFT report including the image from the specified path.  
Public Method static (Shared in Visual Basic) ReportVerification Adds a custom verification step to the LeanFT report.  
Public Method static (Shared in Visual Basic) StartReportingContext Starts a named section in the LeanFT report.  
Public Method static (Shared in Visual Basic) StartTest Starts a new test level for the LeanFT report.  
Top