You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to generate extent report in my Maven+Selenium+Java+Cucumber+Junit project. I have not included testrunner class in my project and the same is been configured in my pom.xml file as below.
com.github.temyers
cucumber-jvm-parallel-plugin
${cucumber.jvm.parallel.version}
generateRunners
generate-test-sources
generateRunners
com.sample.automation.step_definitions
com.api.automation.Hooks
${project.build.directory}/generated-test-sources/cucumber
src/test/resources/feature/
target/cucumber-parallel
com.vimalselvam.cucumber.listener.ExtentCucumberFormatter
${extentReportDir}
html
true
true
${tags}
false
simple
Parallel{c}IT
FEATURE
I am trying to include the below code in hooks @after method Reporter.loadXMLConfig(new File("src/test/resource/extent-config.xml")); But i am getting the Issue java.lang.NoSuchMethodError: com.aventstack.extentreports.reporter.ExtentHtmlReporter.loadXMLConfig(Ljava/io/File;)V at com.vimalselvam.cucumber.listener.Reporter.loadXMLConfig error even if the dependencies are added in pom.xml
I am trying to generate extent report in my Maven+Selenium+Java+Cucumber+Junit project. I have not included testrunner class in my project and the same is been configured in my pom.xml file as below.
com.github.temyers cucumber-jvm-parallel-plugin ${cucumber.jvm.parallel.version} generateRunners generate-test-sources generateRunners com.sample.automation.step_definitions com.api.automation.Hooks ${project.build.directory}/generated-test-sources/cucumber src/test/resources/feature/ target/cucumber-parallel com.vimalselvam.cucumber.listener.ExtentCucumberFormatter ${extentReportDir} html true true ${tags} false simple Parallel{c}IT FEATURE I am trying to include the below code in hooks @after method Reporter.loadXMLConfig(new File("src/test/resource/extent-config.xml")); But i am getting the Issue java.lang.NoSuchMethodError: com.aventstack.extentreports.reporter.ExtentHtmlReporter.loadXMLConfig(Ljava/io/File;)V at com.vimalselvam.cucumber.listener.Reporter.loadXMLConfig error even if the dependencies are added in pom.xmlI need help in
The text was updated successfully, but these errors were encountered: