As part of Selenium Automation Framework, I need to write a method to generate custom TestNG report. I know this can be achieved by overriding
public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
method in IReporter
interface. But the problem is that my test methods calculate some values and I have to pass these values to the testNG report. How can I print values from test method in testNG report?