StartReportingContext Method (Reporter)

Starts a named section in the UFT Developer report. This method has multiple overloads.

StartReportingContext (String, String, IDictionary<String,Object>)

Starts a named section in the UFT Developer report.

C# Syntax

Parameters

contextName
The section name.
contextDescription
Optional. The section description. Blank by default.
additionalData
Optional. The dictionary containing additional custom information. Blank by default.

StartReportingContext (String, ReportContextInfo)

Starts a named section in the UFT Developer report.

C# Syntax
public static void StartReportingContext( 
   string contextName,
   ReportContextInfo reportContextInfo
)

Parameters

contextName
The section name.
reportContextInfo

The HP.LFT.Report.ReportContextInfo object which contains the information to describe the section.