seleniumcucumberselenium-extent-report

Unable to generate extent report in cucumber. I am using cucumber version 4


I have used extentreports-cucumber4-adapter,cucumber-java(4.2.0),cucumber-core(4.2.0),cucumber-junit(4.2.0),gherkin(2.12.2),cucumber-reporting-4.10.0,junit-3.8.1,cucumber-picocontainer-4.2.0,cucumber-extentsreport-com.vimalselvam(3.1.1)

I am able to generate execute the test cases but report is not getting generated.Do i need to give any specific path in the TestRunner file apart from this plugin = {"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"},?

I am unable to post my pom.xml file here


Solution

  • Can you please try with cucumber version 4.0.1 and equivalent dependencies

    And extentreports 4.0.9 along with cucumber4 adapter version 1.0.7

    I would suggest to use only cucumber 4 adapter in your POM.xml and not cucumber-extentsreport-com.vimalselvam(3.1.1) library