Sunday 15 September 2013

testng - Adding custom headers in ReportNG Report -


I am using ReportNg to generate reports for TestNg tests. I used org.uncommons.reportng.title in my pom.xml to generate the report title. But with the title, I want to add environmental details like URL, OS etc. How can this report in NG? I have been able to do this with a custom reporter which implements IRPaster but it needs to be done with ReportNg Can someone please do me how to do this ??

ReportNG currently does not support any customization like this. You need to change ReportNG itself to get it (Modify the HTMLReporter and the velocity templates).

No comments:

Post a Comment