UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
Reporter Class
Provides the means to report custom events, additional data, and configuration for the report. This class cannot be inherited.
Syntax
public static class Reporter 
Inheritance Hierarchy

System.Object
   HP.LFT.Report.Reporter

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)ReportConfigurationThe report configuration used for generating the report.  
Public Propertystatic (Shared in Visual Basic)ReportDescriptionThe LeanFT report description. The description appears directly below the title in the LeanFT report. By default, the description is empty.  
Public Propertystatic (Shared in Visual Basic)ReportLevelThe report level used to generate the LeanFT report. Possible values: ReportLevel.  
Public Propertystatic (Shared in Visual Basic)ReportTitleThe LeanFT report title. Default = Run Results.  
Public Propertystatic (Shared in Visual Basic)SnapshotCaptureLevelThe snapshot capture level used to generate the LeanFT report.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AddRunInformationAdds a custom entry to the top section of the LeanFT report.  
Public Methodstatic (Shared in Visual Basic)EndReportingContextEnds the section in the LeanFT report.  
Public Methodstatic (Shared in Visual Basic)EndTestEnds the current test level and optionally sets the status for the test.  
Public Methodstatic (Shared in Visual Basic)GenerateReportGenerates the LeanFT report.  
Public Methodstatic (Shared in Visual Basic)InitInitializes the specified ReportConfiguration.  
Public Methodstatic (Shared in Visual Basic)ReportEventOverloaded. Adds a custom step to the LeanFT report including the image from the specified path.  
Public Methodstatic (Shared in Visual Basic)StartReportingContextStarts a named section in the LeanFT report.  
Public Methodstatic (Shared in Visual Basic)StartTestStarts a new test level for the LeanFT report.  
Top