Share this page

Init Method (IReporter)
Initializes the specified ReportConfiguration.
Remarks
Required only when using IReporter in a test class that does not inherit from UnitTestBase.

C# Syntax

    void Init(
       ReportConfiguration configuration
    )

Parameters

configuration
  The configuration to use for the report.

Example

    //
    // Use the Reporter.Init() method to initialize the Reporter before using it.
    //
    Reporter.Init(new ReportConfiguration
    {
        Title = "WinForms",
        Description = "Using Report in Console application",
        IsOverrideExisting = true,
        ReportFolder = "WinFormsResults",
        ReportLevel = ReportLevel.All,
        SnapshotsLevel = CaptureLevel.OnError,
        TargetDirectory = "."
    });

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: