Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [cucumber]

Cucumber is a tool for running automated acceptance tests written in a BDD (behaviour-driven development) style.

0 votes
0 answers
21 views

Unable to run feature files parallel with JUnit 4 and "mvn test" command?

I want to run my 5 Cucumber feature files with "Mvn test" Command parallely. Now, the "mvn test" or 'mvn build" runs fine and maven builds the project, but feature file dont ...
qatester972's user avatar
0 votes
1 answer
40 views

How to repeat the same test with Selenium Webdriver without opening a new browser instance each time?

I am using Selenium Webdriver on Node.js with Cucumber.js. I want to run the same test on multiple pages. In this case just checking for 404s in my footer. My Cucumber .feature file looks like: ...
MeltingDog's user avatar
0 votes
0 answers
12 views

Parallel feature files execution in Cucumber with TestNG runner? [duplicate]

How to run multiple feature files parallely in cucumber with TestNG runner? <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>...
kunaltester2304's user avatar
0 votes
0 answers
38 views

How to run multiple Feature files parallelly in Cucumber with TestNG Runner?

I am facing one issue: I need to run 5 feature files that are totally independent of each other, Each feature files logs into a different site. I want 5 different ChromeDriver Browser sessions to open ...
kunaltester2304's user avatar
0 votes
0 answers
13 views

loginPage login is not imported stuck on that point

package StepDefinations; import java.time.Duration; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; import io.cucumber.java.en.And; import io.cucumber.java.en....
Tejas Nitin More's user avatar
0 votes
0 answers
25 views

Cucumber selenium testng getting error in testrunner

package Runner; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import io....
Anil's user avatar
  • 1
0 votes
1 answer
128 views

What is the best way to set up multiple tests on one webpage with Selenium Webdriver and Cucumber JS?

I am new to automated testing, Selenium and Cucumber.JS and am trying to set it up in Node.JS to run several tests on my website. I have gotten single scenarios/test working fine, but I am a bit ...
MeltingDog's user avatar
0 votes
0 answers
142 views

Can't walk dependency graph: Cannot find module '

When I try to run cypress using Cucumber, I got This is the structure of the folders The file I am trying to run is purchaseOrderCheckScreen.feature Cypress package version: 9.7.0 Cypress binary ...
IBrito's user avatar
  • 185
1 vote
1 answer
818 views

How to share data between steps in Cucumber feature file?

I am designing automation scripts using the REST APIs, RestAssured with Cucumber BDD framework. I have multiple APIs where one API's response is used as a parameter in another API. Here is my feature ...
iAutomate's user avatar
  • 359
0 votes
0 answers
277 views

how to send allure report as a attachment in email from jenkins to outlook

This is the email configuration could you please guide me on which path i should use to get the allure report?
Praveen Tiwari's user avatar
0 votes
1 answer
58 views

Cucumber, TestNG, Parallel - sometimes webdriver not controlling browser

I'm using Cucumber, TestNG, WebDriver, WebDriverFactory and PicoContainer. Scenarios run in parallel. I'm getting strange intermittent failures - every now and then (perhaps one in 20 runs) in one of ...
Scott Deagan's user avatar
0 votes
0 answers
70 views

The selector is not recognized by selenium java

I have the following HTML code for a button: <div class="link" data-background-color="#fb00ff" style="background-color: rgb(251, 0, 255);"> <div data-replace-...
AAa's user avatar
  • 1
0 votes
0 answers
861 views

Allure report not generated when one or more test cases at pending status, due to Cucumber tags

Error message; allure-results does not exist. When test cases pass failed only report generated with no issue. Project created by Cypress, Cucumber with typescript Run in Jenkins/Docket image Jenkins ...
Dev Perera's user avatar
0 votes
0 answers
874 views

Java Cucumber - junit does not run any test

could you tell me why "mvn test" or "mvn verify" does not run any test ? Maybe any dependency is missing ? package cucumber.Options; import io.cucumber.junit.Cucumber; import io....
javabeginer's user avatar
1 vote
1 answer
2k views

Java Cucumber - pretty html reports net.masterthought - No JSON report file was found

I get the following error when I run the code About to generate Cucumber report. May 02, 2023 6:55:06 PM net.masterthought.cucumber.ReportBuilder generateErrorPage WARNING: Unexpected error net....
javabeginer's user avatar

15 30 50 per page
1
2 3 4 5
17