Reports generated by Test NG


When we run any test, TestNG automatically generates report which are saved in project folder, report contain many text file and html file, but we need to go for 

            Index.html

We have “testng.css” file in same folder which can be modified to change colour schemes etc.

It also generate XML file which can be used by Junit to generate report.

We can also enter our Data to TestNg reports

 Import org.testng.Reporter; (import this class)
 Reporter.log (“Data”)    // use log method to enter data


No comments :

No comments :

Post a Comment