Skip to main content

Cucumber Extent PDF Report

There are many ways to generate PDF reports in Cucumber; in this article we will generate PDF reports using an Extent Adapter.

Step 1: Follow this article to Add POM.xml, create and configure extent property file and add the plugin to the Test Runner class.

Step 2: To attach screenshot to your extent report, refer this article

Step 3: Add following 2 lines in


Execute your code, You will find PDF in folder mentioned in extent properties file.

Submitted by tgoswami on February 17, 2022

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.