ReportConfig
Namespace: TrganReport.Configs
Centralized configuration for Trgan reports. Provides unified access to all configurations.
public class ReportConfig
Inheritance Object → ReportConfig
Properties
ReportHeading
The heading displayed at the top of the report. Default header is "Automation Report".
public string ReportHeading { get; set; }
Property Value
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
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
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
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
TimeStyle
Controls how timestamps are formatted throughout the report. Options include:
public TimeStyle TimeStyle { get; set; }
Property Value
TestChartTitle
Gets or sets the title for the container-level chart.
public string TestChartTitle { get; set; }
Property Value
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
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
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
Constructors
ReportConfig()
public ReportConfig()