Extent report for appium test

Hi,

I tried to integrate extent report for my android appium test but seems like it wouldn’t generate the html report in the test folder. Any help would be appreciated.

What exactly do you need ?

In my team we are using extent report which is being generated in @after hook once the all the features (we are wrapping appium with cucumber) being executing , and everything run smoothly

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.