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?
Reply