Vaitheeswaran
Vaitheeswaran

Reputation: 97

How to generate extent reports using spark (ExtentReports 5)?

Now Htmlreporter is deprecating. So need other than Htmlreporter solution. Please give me the proper and new solution.Am expecting with the spark report.

Upvotes: 0

Views: 3849

Answers (1)

foursyth
foursyth

Reputation: 527

The usage remains same, albeit with the new default reporter.

ExtentSparkReporter spark = new ExtentSparkReporter(new File(""));
extent.attachReporter(spark);

Upvotes: 3

Related Questions