Steps to Setup Extent Report in Rest Assured Framework



Steps to Setup Extent Report in Rest Assured Framework

To Setup Extent Report in Rest assured we need to follow the below steps.
  • In maven project inside pom.Xml file,add below maven dependencies.




  • In the project, Folder add file name for e.g ExtentReporterNG under resources Folder

  • Add Below Code in the ExtentReporterNG.java File
  • Now Add below ReportListener to your TestNG.xml file 




  • Finally execute testng,xml file and Validate ExtentReportTestNG under test-output folder







   Happy Learning ๐Ÿ˜



SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
Anonymous
November 7, 2019 at 12:52 PM

Please share the maven dependency used for extent report

Reply
avatar
November 11, 2019 at 8:10 AM

Updated in the article please check

Reply
avatar
January 29, 2020 at 9:39 PM

Hi Ankur,I did all the steps as mentioned.However I couldn't find ExtentReportTestNG under test-output folder..

Reply
avatar
February 5, 2020 at 7:16 AM

hi can this be done on a c# api framework in a visual studio?

Reply
avatar
Anonymous
March 25, 2021 at 8:35 AM

Hi Ankur, Thanks for sharing the code. I'm facing once problem in html report the start and end time is taking from the last test case only similarly for the total time as well it is taking from the last test case. Could you please help me how can i correct the report?

Reply
avatar