Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.2k views
by The go-to Tester (222 points)
edited by

I added

format ={"pretty","json:target/cucumber.json","html:target/site/cucumber-pretty"}

to my runner file. Yet the report is not generated.

Below are dependencies in pom.xml file.

<dependencies>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>compile</scope>
</dependency>
</dependencies>

1 Answer

0 like 0 dislike
by The go-to Tester (222 points)
Use only cucumber-java, and JUnit. And in JUnit, use the version 4.10.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...