Create HTML Reports with Screenshots in Selenium Automation Framework

Create HTML Reports with Screenshots in Selenium Automation Framework

Automation Step by Step via YouTube Direct link

18:28 Step 3 - Modify your BaseTest.java Class to initialize and flush the report

4 of 12

4 of 12

18:28 Step 3 - Modify your BaseTest.java Class to initialize and flush the report

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Create HTML Reports with Screenshots in Selenium Automation Framework

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 Intro - How to implement Reporting using Extent Reports
  2. 2 01:01 Step 1 - Add Extent Reports Dependency and run mvn clean install
  3. 3 03:56 Step 2 - Create Extent Reports Utility class in utils ExtentReportManager.java
  4. 4 18:28 Step 3 - Modify your BaseTest.java Class to initialize and flush the report
  5. 5 23:34 Step 4 - Add Reporting to Your Test Cases log pass/fail results
  6. 6 28:55 Step 5 - Run test mvn test & check the reports folder for the generated ExtentReport.html
  7. 7 33:46 Adding Screenshots in Reports
  8. 8 33:51 Step 1 - Modify ExtentReportManager.java to add screenshot support
  9. 9 42:30 Step 2 - Modify TearDown method of BaseTest class
  10. 10 48:50 Step 3 - Check if screenshots are added in Reports if the test fails
  11. 11 52:42 Step 4 - Can add multiple tests and check the Report
  12. 12 57:34 Ending

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.