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 ๐
Please share the maven dependency used for extent report
ReplyUpdated in the article please check
ReplyHi Ankur,I did all the steps as mentioned.However I couldn't find ExtentReportTestNG under test-output folder..
Replyhi can this be done on a c# api framework in a visual studio?
ReplyHi 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