extentReportConfiguration.properties
A configuration file designed for the Extent Reports integration within the automation framework. Extent Reports is a versatile reporting tool 📊 that crafts interactive and comprehensive test reports, offering a visual representation of test execution. This file defines parameters shaping the appearance, structure, and behavior of the generated Extent Reports, ensuring alignment with preferred specifications and aesthetics.
Keys within extentReportConfiguration.properties
:
ReportName
: 🏷Purpose: Specifies the title or name for the generated Extent Report.
Description: The designated name for the report is "AutomationReport", and this will be displayed prominently as the report's title.
Report_Theme
: 🌓Purpose: Determines the visual theme of the Extent Report.
Description: The selected theme is "dark", producing a dark mode visual for the report. Users can switch between "dark" and "standard" themes based on viewing preferences.
Report_JS
: 🖥Purpose: Injects custom JavaScript to refine or modify the interactive dynamics of the Extent Report.
Description: The JavaScript code provided adjusts elements tagged as "details-col", changing their content to "Steps", enhancing clarity in the report's layout.
Report_CSS
: 🎨Purpose: Adds custom CSS to modify the visual aspects and design of the Extent Report.
Description: The specified CSS tweaks the dimensions of the logo in the report's header, ensuring its proportional and consistent display.
Report_logo
: 🖼Purpose: Defines the path to the logo image to be displayed in the Extent Report.
Description: The logo for the report is located at "/config/logo.jpg". This image will be embedded in the report, typically at the top, to provide a branded touch to the report's presentation.
Report_captureScreenshotOnPass:
🖼️Purpose: Switch to capture image on validation pass.
Description: Enabling this setting allows the framework to capture and embed screenshots when validations pass. This provides visual documentation of successful test executions, useful for creating comprehensive reports, visual regression testing, and ensuring the application's state is correctly validated at each step.
By using the extentReportConfiguration.properties
file 📁, the automation framework offers a tailored approach to customise Extent Reports. This ensures reports are both informative 🧾 and align with organisational branding and style preferences. 🎨🔧
File
Last updated
Was this helpful?