© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
K. DasCreate an Enterprise-Level Test Automation Framework with Appiumhttps://doi.org/10.1007/978-1-4842-8197-0_12

12. Creating a Pdf Report with Screenshots

Koushik Das1  
(1)
Miami, FL, USA
 

In the previous chapter, we learned how to create Allure and Extent HTML reports for our test suite. While the Allure report is for both BDD and TDD, the Extent report is for Cucumber. In this chapter, we will learn how to create a PDF report that can be customized to your organization. First, let’s write a utility class for this purpose.

Creating a PdfUtil Class to Generate Report for Each Test Suite

In Chapter 6, we created a PdfUtil class within the src/main/java/com/taf/testautomation/utilities/pdfutil ...

Get Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, ALM Integration, and Custom Reports with TDD and BDD Support now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.