Hi igal_epshtein,
Thank you for your reply. I was able to generate the extend report for a one class.I place the below code in the same class level. But if I place the same code in TestBase class, which I am extending to the test class, it won’t generate the report. Any thoughts?..
@BeforeSuite
public void setUp() {
extent = new ExtentReports(System.getProperty(“user.dir”)+"/src/main/java/MobileTesting/com/AFAdvantage/report/MyTestReport.html", true);
extent.addSystemInfo(“Application”, “Agent Advantage”);
extent.loadConfig(new File(System.getProperty(“user.dir”)+"/extent-config.xml"));
}
Thank you.