Skip to main content

Questions tagged [gherkin]

Gherkin is the language used to write specifications for Cucumber, Specflow and similar BDD frameworks. It is a business-readable, domain-specific language that lets you describe your software’s behaviour without detailing how that behaviour is implemented.

0 votes
1 answer
39 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
2 answers
41 views

Scenario Outline gherkin steps parameter set up

In the feature file, Scenario Outline, eg, When user enters "<userName>" Examples: |userName| |xxxx| The question is that I see sometimes placing the place holder userName inside &...
Tes's user avatar
  • 167
0 votes
0 answers
10 views

Intellij is degraded to previous version, so getting Undefined step reference issue on feature files

Intellij is degraded to previous version, so getting Undefined step reference issue on feature files Tried uninstalling and reinstalling cucumber and gherkin plugins, tried rebuilding the project and ...
Sanjana Patil's user avatar
0 votes
0 answers
25 views

No reference found in Vs code Cucumber (Gherkin)

Here, the settings.json file { "dotnet.defaultSolution": "selenium_tests/csharp.sln", "dotnet-test-explorer.testProjectPath": "**/.sln", "...
ankit Sharma's user avatar
1 vote
1 answer
48 views

What is the way to glue Cucumber feature steps to their implementation for navigation in Goland?

I'm using godog as a testing framework and Goland as an IDE (with Cucumber and Gherkin plugins installed). I have features files and steps implementation and the tests work well (steps are found and ...
Katya's user avatar
  • 63
1 vote
0 answers
38 views

Run As > Cucumber Feature Does Nothing

When I am trying to run a Karate feature file using Eclipse Run As > Cucumber Feature nothing happens, no errors and no console feedback Trying to run a Karate feature file using Eclipse Run As ...
Colm Brennan's user avatar
0 votes
0 answers
47 views

How to parse step definition code for projects using Cucumber?

I'm working on a project where I want to evaluate how Behavior Driven Development is being used. I want to extract Gherkin steps from .feature files and match the underlying step definition code. For ...
Uncle Ben's user avatar
1 vote
1 answer
52 views

Extracting code using RegEx and Python from a JavaScript function

I'm currently parsing some Gherkin files along with their associated step definition files. I'm wondering what the best way would be to extract the RegEx inside the step along with the code would be. ...
Uncle Ben's user avatar
0 votes
0 answers
33 views

Specflow plugin as a nuget package within another nuget package

I have the following project structure Our projects Project SpecFlowPlugin Nuget Package which is a decorator plugin Project 'ProducerNuget' Package (which should have a <ProjectReference> to '...
HelloWorld's user avatar
0 votes
0 answers
19 views

How do I setup And keyword in the vs code

I am using vs code for project and what's happening is all gherkin keyword are working but only "And" is not working I am using 1.82 version of Vs code And should work is my expectation Can ...
Umesh Dhokate's user avatar
-1 votes
1 answer
17 views

How can I hook in to all assertion failures in gherkin step definitions?

I want to run some custom reporting logic when any step in my gherkin scenario fails. We're using FluentAssertions to run the actual tests within the Gherkin steps, and I though I might be able to ...
Stuart Kemp's user avatar
0 votes
1 answer
54 views

Chrome is quickly closing after I run this automation code using Python Behave Selenium webdriver

Whenever I run my code, the chrome opens and quickly closes, I observed the chrome browser and when it opens it does not even go the the URL link, it opens and then quickly closes for like a milli-...
Angel's user avatar
  • 1
0 votes
0 answers
37 views

Can not click() on Selenium

Code on the IDE I am trying to click a checkbox and I am not able to do it. try { WebElement primaryParticipant = driver.findElement(By.xpath("//*[@id=\"searchable-list-input-...
Damián's user avatar
0 votes
0 answers
110 views

Markdown in cucumber/gherkin descriptions and html formatter

I am trying to use Markdown in Gherkin/Cucumber feature's descriptions. What I learned from https://cucumber.io/docs/gherkin/reference/ Descriptions can be in the form of Markdown - formatters ...
Tomasz Lempart's user avatar
0 votes
0 answers
35 views

kotest integration login api status call

I am trying to create a integration test using kotest with gherkin language for retrieving the Success or Failed status for login app action . I have read that are multiple testing style from kotest [ ...
Mary's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
80