API ChartLocation is no longer available | Selenium Forum
S
Sakha Posted on 18/02/2020

I was following TESTNG and HYBRID FRAMEWORK (Training video 24/Module 24):

I'm trying to set the chart location in the new version of Extent Reports. I'm no longer able to import:

import com.aventstack.extentreports.reporter.configuration.ChartLocation;

That library no longer exists. Which of course makes this line of code useless:

htmlReporter.config().setTestViewChartLocation(ChartLocation.BOTTOM);

So if I want to keep same code for extent reports as Training video 24 what can I use equivalent of ChartLocation?

Thanks in advance.


A
Ashish Thakur Replied on 19/02/2020

Please use the same version of Extent Reports.

The issue will get resolved.


Related Posts