Skip to content

ReportConfig

Namespace: TrganReport.Configs

Centralized configuration for Trgan reports. Provides unified access to all configurations.

public class ReportConfig

Inheritance ObjectReportConfig

Properties

ReportHeading

The heading displayed at the top of the report. Default header is "Automation Report".

public string ReportHeading { get; set; }

Property Value

String

Remarks:

Prefer Uppercase

UseEmojis

Enables emoji rendering in the meta summary's expanded section of the report. Indicators and visual cues include emojis for enhanced readability.

public bool UseEmojis { get; set; }

Property Value

Boolean

ShowCategory

Gets or sets a value indicating whether the "Category" column should be displayed in Execution Status table. Default is true.

public bool ShowCategory { get; set; }

Property Value

Boolean

ShowEndTime

Gets or sets a value indicating whether the "End Time" column should be displayed in Execution Status table. Default is true.

public bool ShowEndTime { get; set; }

Property Value

Boolean

ShowDuration

Gets or sets a value indicating whether the "Duration" column should be displayed in Execution Status table. Default is true.

public bool ShowDuration { get; set; }

Property Value

Boolean

TimeStyle

Controls how timestamps are formatted throughout the report. Options include:

public TimeStyle TimeStyle { get; set; }

Property Value

TimeStyle

TestChartTitle

Gets or sets the title for the container-level chart.

public string TestChartTitle { get; set; }

Property Value

String

Exceptions

ChartConfigurationException
Thrown when the title is null, empty, or whitespace.

SubTestChartTitle

Gets or sets the title for the test-level chart.

public string SubTestChartTitle { get; set; }

Property Value

String

Exceptions

ChartConfigurationException
Thrown when the title is null, empty, or whitespace.

StepChartTitle

Gets or sets the title for the step-level chart.

public string StepChartTitle { get; set; }

Property Value

String

Exceptions

ChartConfigurationException
Thrown when the title is null, empty, or whitespace.

ImageQuality

Controls the image quality used during screenshot generation. Throws ScreenshotException if the quality value is outside the valid range (0–100).

public long ImageQuality { get; set; }

Property Value

Int64

Constructors

ReportConfig()

public ReportConfig()