IReporter Interface
Accesses the UFT Developer HTML Report.

C# Syntax

public interface IReporter 
Public Properties
  Name Description
Property ReportConfiguration Returns the ReportConfiguration interface, which enables you to customize the UFT Developer report behavior.  
Property ReportDescription the UFT Developer report description. The description appears directly below the title in the UFT Developer report. By default, the description is empty.  
Property ReportLevel The report level used to generate the UFT Developer report. Possible values: ReportLevel.  
Property ReportTitle the UFT Developer report title. Default = Run Results.  
Property SnapshotCaptureLevel The snapshot capture level used to generate the UFT Developer report.  
Property Status The runtime status of the UFT Developer report.  
Top
Public Methods
  Name Description
Method AddRunInformation Adds a custom entry to the top section of the UFT Developer report.  
Method EndReportingContext Ends the section in the UFT Developer report.  
Method EndTest Ends the current test level and optionally sets the status for the test.  
Method GenerateReport Generates the UFT Developer 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, etc.).

C# Syntax

publicstaticStatus GetCurrentExecutionContextStatus( )

Method Init Initializes the specified ReportConfiguration.  
Method ReportEvent Overloaded. Adds a custom step to the UFT Developer report including the image from the specified path.  
Method ReportVerification Adds a custom verification step to the UFT Developer report.  
Method StartReportingContext Starts a named section in the UFT Developer report.  
Method StartScreenRecording

Supported on UFT Developer versions 15.0.1 and later

Overloaded. Starts screen recording.

Method StartTest Starts a new test node in the UFT Developer report test flow tree.  
Method StopScreenRecording

Supported on UFT Developer versions 15.0.1 and later

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

To start the recording use startScreenRecording.

C# Syntax

void StopScreenRecording()
Top