Create HTML Reports with Screenshots in Selenium Automation Framework
Automation Step by Step via YouTube
You’re only 3 weeks away from a new language
Google AI Professional Certificate - Learn AI Skills That Get You Hired
Overview
Syllabus
00:00 Intro - How to implement Reporting using Extent Reports
01:01 Step 1 - Add Extent Reports Dependency and run mvn clean install
03:56 Step 2 - Create Extent Reports Utility class in utils ExtentReportManager.java
18:28 Step 3 - Modify your BaseTest.java Class to initialize and flush the report
23:34 Step 4 - Add Reporting to Your Test Cases log pass/fail results
28:55 Step 5 - Run test mvn test & check the reports folder for the generated ExtentReport.html
33:46 Adding Screenshots in Reports
33:51 Step 1 - Modify ExtentReportManager.java to add screenshot support
42:30 Step 2 - Modify TearDown method of BaseTest class
48:50 Step 3 - Check if screenshots are added in Reports if the test fails
52:42 Step 4 - Can add multiple tests and check the Report
57:34 Ending
Taught by
Automation Step by Step