robotframework-gherkin-parser icon indicating copy to clipboard operation
robotframework-gherkin-parser copied to clipboard

No keyword with name 'Given I have entered 50 into the calculator' found.

Open omn32 opened this issue 10 months ago • 1 comments
trafficstars

Please describe. Hi Daniel, thx for you parser, I saw your video on youtube "A story of sir Robot Framework and Lady Gherkin (Cucumber)".

When I run the test I have this error "No keyword with name 'Given I have entered 50 into the calculator' found." With my files .robot, it's OK on my PC. I created the "calculator.resource" and "calculator.feature" in the same folder.

thx for you help

Desktop (please complete the following information):

  • VS Code Version 1.95
  • RobotCode Version 0.106.1 - 2025-01-16
  • OS: Windows FR
  • Python Version 3.12.3
  • RobotFramework Version [e.g. 4.0.0]
  • Additional tools like robocop, robotidy => NO

omn32 avatar Jan 19 '25 13:01 omn32

The plugin expects the keyword(s) to be declared in a (.resource) file located in a subdirectory named steps, next to the .feature file.

helloword.feature
<steps>
     helloworld_steps.resource

wvanmourik-uwv avatar Feb 06 '25 16:02 wvanmourik-uwv