Hi,
I am trying to implement extent reports in my POM framework. Created util - ExtentManager.
In my test cases trying to use below code.tried with @BeforeMethod as well. getting configuration error. Please refer attached complete code and kindly suggest.
@BeforeTest
public void extentreport() throws Exception
{
reports = ExtentManager.getReports();
test = reports.createTest("RefundRequestLookupTest");
}
Error
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openqa.selenium.os.ProcessUtils (file:/D:/tmo/maven_local_repo/org/seleniumhq/selenium/selenium-remote-driver/2.53.1/selenium-remote-driver-2.53.1.jar) to field java.lang.ProcessImpl.handle
WARNING: Please consider reporting this to the maintainers of org.openqa.selenium.os.ProcessUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FAILED CONFIGURATION: @AfterClass tearDown
FAILED CONFIGURATION: @BeforeTest