Table of Contents

Class ReportConfiguration

Namespace
HP.LFT.Report
Assembly
HP.LFT.Report.dll

The class used for configuring the report.

public class ReportConfiguration : BaseConfiguration, IReportConfiguration
Inheritance
ReportConfiguration
Implements

Constructors

ReportConfiguration()

Initializes a new instance of the ReportConfiguration class that is initialized with the report configuration values from the local assembly's app.config file.

public ReportConfiguration()

ReportConfiguration(Assembly)

Initializes a new instance of the ReportConfiguration class with the assembly value of type System.Configuration.Assembly.

public ReportConfiguration(Assembly assembly)

Parameters

assembly Assembly

The System.Configuration.Assembly containing the app.config whose report configuration you want to use.

Remarks

Using this constructor is useful if you want multiple assemblies to all use the report configuration settings from a central app.config file.

Properties

Description

the report description.

public string Description { get; set; }

Property Value

string

Remarks

The description appears directly below the title in the report. By default, the description is empty.

IsJUnitEnabled

The boolean value indicating if the JUnit report will be generated or not.

public bool IsJUnitEnabled { get; set; }

Property Value

bool

IsOverrideExisting

Indicates whether the existing report files will be overridden. If false, each report filename gets an ordinal suffix.

public bool IsOverrideExisting { get; set; }

Property Value

bool

ReportEnabled

Specifies if the report should be enabled or not.

public bool ReportEnabled { get; }

Property Value

bool

Remarks

Default = true

ReportFolder

The name of the folder where the report is generated.

public string ReportFolder { get; set; }

Property Value

string

Remarks

Default = RunResults

ReportLevel

The level of events to be reported. Possible values: ReportLevel.

public ReportLevel ReportLevel { get; set; }

Property Value

ReportLevel

SeparateReport

Defines the report separation.

public ReportGranularity SeparateReport { get; set; }

Property Value

ReportGranularity

Remarks

Default = Off

SnapshotsLevel

The snapshot capture level used to generate the report.

public CaptureLevel SnapshotsLevel { get; set; }

Property Value

CaptureLevel

Remarks

Possible values: CaptureLevel

TargetDirectory

The root directory where report folders are generated. Default = project Output path.

public string TargetDirectory { get; set; }

Property Value

string

Title

the report title.

public string Title { get; set; }

Property Value

string

Remarks

Default = Run Results