Setup Extent Reports for Selenium Java Test
Preconditions (3)
Step 1: Create a new ExtentReports instance in the test setup method
Step 2: Attach an ExtentHtmlReporter with a specified report file path
Step 3: Create an ExtentTest object for the test case
Step 4: Log test steps and statuses using the ExtentTest object
Step 5: Flush the ExtentReports instance after test execution to write the report
✅ Expected Result: An HTML report file is generated after test execution showing the logged test steps and their statuses