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
 NameDescription
Public Propertystatic (Shared in Visual Basic)ReportConfigurationThe report configuration used for generating the report.  
Public Propertystatic (Shared in Visual Basic)ReportDescriptionthe OpenText Functional Testing for Developers report description. The description appears directly below the title in the OpenText Functional Testing for Developers report. By default, the description is empty.  
Public Propertystatic (Shared in Visual Basic)ReportLevelThe report level used to generate the OpenText Functional Testing for Developers report. Possible values: ReportLevel.  
Public Propertystatic (Shared in Visual Basic)ReportTitlethe OpenText Functional Testing for Developers report title. Default = Run Results.  
Public Propertystatic (Shared in Visual Basic)SnapshotCaptureLevelThe snapshot capture level used to generate the OpenText Functional Testing for Developers report.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AddRunInformationAdds a custom entry to the top section of the OpenText Functional Testing for Developers report.  
Public Methodstatic (Shared in Visual Basic)EndReportingContextEnds the section in the OpenText Functional Testing for Developers 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 OpenText Functional Testing for Developers report.  
Public Method

static (Shared in Visual Basic)

GetCurrentExecutionContextStatus

Returns the status of the current execution context. The execution context is equivalent to any superior structure that contains operations (e.g.: test method, reporting context).

C# Syntax

publicstaticStatus GetCurrentExecutionContextStatus( )

Public Methodstatic (Shared in Visual Basic)InitInitializes the specified ReportConfiguration.  
Public Methodstatic (Shared in Visual Basic)ReportEventOverloaded. Adds a custom step to the OpenText Functional Testing for Developers report including the image from the specified path.  
Public Methodstatic (Shared in Visual Basic)ReportVerificationAdds a custom verification step to the OpenText Functional Testing for Developers report.  
Public Methodstatic (Shared in Visual Basic)StartReportingContextStarts a named section in the OpenText Functional Testing for Developers report.  
Public Methodstatic (Shared in Visual Basic)StartScreenRecording

Overloaded. Starts screen recording.

Public Methodstatic (Shared in Visual Basic)StartTestStarts a new test level for the OpenText Functional Testing for Developers report.  
Public Methodstatic (Shared in Visual Basic)StopScreenRecording

Stops screen recording. A link to the .avi recording is added to the report.

To start the recording use startScreenRecording.

C# Syntax

void StopScreenRecording()
Top