Extent PDF Report in Cucumber TestNG

Profile picture for user devraj

This article will explain how to generate a PDF report using the grasshopper plugin. Follow the below steps:

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 method 1 here  

Step 3: Add below 2 lines in extent.properties file


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

Video Tutorial: Cucumber Extent PDF Report TestNG