Skip to main content

All Questions

0 votes
1 answer
37 views

Cannot loop all rows in cucumber.js examples table

In my automated test, I intend to automatically answer quiz and click the "next" button to proceed to the next page after each question is done in each page (questionNum). However, only the ...
Shirley's user avatar
0 votes
0 answers
49 views

Use cucumber-reports.json file to upload to another system

I am using BDD Cucumber framework written in Java. As part of the tests, cucumber-reports.json file is generated in the target folder. I have to read cucumber-reports.json file and upload it to ...
Radha's user avatar
  • 106
0 votes
0 answers
31 views

is it standard to add if else in step definition file in cucumber

eg in your step definition you have this @When("User enters {string} , {string} and {string}") public void user_enters_and(String keyword, String date, String location) { driver....
Ramon Aleja's user avatar
-4 votes
1 answer
233 views

suddenly get this error io.cucumber.core.exception.CucumberException: Failed to instantiate class stepdefinitions.BasicStepDefs [closed]

My project used to work properly but suddenly i get this error.Code works at another computer but the very same code does not work on my machine.By the way i'm sure code is working cause i pull it ...
MFA's user avatar
  • 3
0 votes
0 answers
42 views

How to attach cucumber scenarios to Allure manual testcases with allure-cucumber7-jvm?

I'm researching the way how can we attach cucumber gherkin-scenarios to Allure manual testcases without loss of manual testcase data Currently in the Internet there are multiple tutorials how to ...
SinitsynME's user avatar
0 votes
0 answers
64 views

How to organize scenarios/feature files with Cucumber

I can't find anywhere an example of what is the best logic for scenarios for my case. The application I'm building tests for is a CRM application and a lot of scenarios are repeated many times in one ...
Cope Cope's user avatar
0 votes
1 answer
36 views

How do I re-use expressions in Cucumber?

I have this scenario where I want to check if a banner element exists on each page. I have created a separate banners.js file that contains the (Selenium Webdriver) Javascript that does the check: ./...
MeltingDog's user avatar
0 votes
0 answers
165 views

How do I get Cucumber HTML Reporter to generate a new report on command?

I am running tests using CucmberJS and SeleniumWebdriver on Node.js. I have installed the package cucumber-html-reporter. This is somewhat working, but for a few things: The report.html file does not ...
MeltingDog's user avatar
0 votes
0 answers
63 views

How to start Appium server programmatically before the first scenario executed? (Using Cucumber and JUnit)

I want to start Appium server before the first scenario and then after the last scenario is executed, I want to close it. But I cant do it... Currently it starts the server before each scenario, and ...
emnznlg's user avatar
1 vote
1 answer
129 views

Get user console input during a karate test execution

I'm working in some tets cases, in some of them I need to get a dinamic token which I only can get with a phisical device in a manual process, this token is one-use only (when the request gets ...
SaulSV's user avatar
  • 11
-1 votes
1 answer
890 views

Run cucumber by tag or run all tests

I am having hard time with running cucumber. I want to run either all scenarios if tags are not passed as CLI argument or certain scenarios according to passed tags as CLI argument. Here is my config ...
jkalandarov's user avatar
0 votes
0 answers
22 views

Cucumber integration to build scenarios using existent steps. Does it exist?

I started to use cucumber.io (with ruby) to test my api and website. I want to have a tool where non-tech people can create their own test scenarios based on existent steps. Some web gui tool where ...
Roman Gelembjuk's user avatar
0 votes
0 answers
45 views

Trigger Cucumber BDD tests within an android app when I click a button from the app

I have an app built for testing to trigger tests from within the app its for a specific use case can't be done other way. I need to run the tests using BDD. This app calls some api from a library ...
aforz's user avatar
  • 1
0 votes
1 answer
484 views

undefinedStepdefinitionexception - Matching multiple phrases cucumber step definition

Good day I have recently converting from cucumber-java8 to cucumber-java and was facing issue with Regular expression in step definition. Cucumber is not identifying the steps which we have clubbed ...
Phalguna Aramalla's user avatar
1 vote
1 answer
596 views

Playwright + Cucumber - Assertions

I am using playwright and Cucumber.js writing in TS. I noticed that many features of native assertions doesn't work - especially custom message, but also soft assertions, when used together wieth ...
hetacz's user avatar
  • 119

15 30 50 per page
1
2 3 4 5
24