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?
✗ Incorrect
The method config().setDocumentTitle() sets the title of the HTML report document.
How do you add system information like 'OS' or 'Browser' to an Extent Report?
✗ Incorrect
The method extent.setSystemInfo() adds key-value pairs of system info to the report.
Which theme options are available by default in Extent Reports?
✗ Incorrect
Extent Reports supports Theme.STANDARD (light) and Theme.DARK by default.
What is the role of ExtentHtmlReporter in Extent Reports?
✗ Incorrect
ExtentHtmlReporter handles the creation and customization of the HTML report.
To customize the report name shown on the report page, which method is used?
✗ Incorrect
config().setReportName() changes the visible report name on the page header.
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.