0
0
Selenium Javatesting~5 mins

Extent report customization in Selenium Java - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an Extent Report in Selenium testing?
An Extent Report is a detailed and visually rich report generated after running Selenium tests. It helps testers see which tests passed, failed, or were skipped, along with logs and screenshots.
Click to reveal answer
beginner
How can you change the report title in Extent Reports?
You can customize the report title by using the config().setDocumentTitle("Your Title") method on the ExtentHtmlReporter object before attaching it to ExtentReports.
Click to reveal answer
intermediate
Which method is used to add system information like OS or tester name in Extent Reports?
Use extent.setSystemInfo("Key", "Value") to add system details such as OS, browser, or tester name to the report.
Click to reveal answer
intermediate
How do you change the theme of an Extent Report?
You can set the theme using config().setTheme(Theme.STANDARD) or config().setTheme(Theme.DARK) on the ExtentHtmlReporter object.
Click to reveal answer
beginner
What is the purpose of attaching an ExtentHtmlReporter to ExtentReports?
Attaching ExtentHtmlReporter to ExtentReports tells the framework where and how to generate the HTML report file with all test results and customizations.
Click to reveal answer
Which method sets the document title in Extent Reports?
AsetTitle()
Bconfig().setDocumentTitle()
CsetReportName()
DsetTheme()
How do you add system information like 'OS' or 'Browser' to an Extent Report?
Aextent.setSystemInfo()
Bextent.addInfo()
Creport.addSystemDetails()
DhtmlReporter.setSystemInfo()
Which theme options are available by default in Extent Reports?
AStandard and Dark
BBlue and Red
CClassic and Modern
DLight and Dark
What is the role of ExtentHtmlReporter in Extent Reports?
AIt logs test steps
BIt runs the Selenium tests
CIt generates the HTML report file
DIt manages test data
To customize the report name shown on the report page, which method is used?
AsetSystemInfo()
BsetDocumentTitle()
CsetTheme()
Dconfig().setReportName()
Explain how to customize the title, theme, and system info in an Extent Report.
Think about the ExtentHtmlReporter and ExtentReports objects and their configuration methods.
You got /3 concepts.
    Describe the steps to attach an ExtentHtmlReporter to ExtentReports and generate a customized report.
    Focus on the order of creating reporter, configuring, attaching, and flushing.
    You got /5 concepts.