Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unparseable date error thrown intermittently #691
I am using Extent Reports v3.0.1 in Eclipse Neon.
It seems that after adding "htmlReporter.setAppendExisting(true);" programmatically (Is there a way to add the "appendexisitng" to the xml config file?) I am getting an intermittent error when running a TestNG suite where the following error appears:
sorry for the late reply.
This is the method in a class:
I resolved this issue by setting the
extentReport = new ExtentReports(); ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(new File("path/to/results.html")); htmlReporter.setAppendExisting(true); // Required to parse the start and end times in the HTML report. Locale.setDefault(Locale.ENGLISH); extentReport.attachReporter(htmlReporter);