Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to write test scenario using Cucumber but get an error

Dubo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2021

Hi,

I am choosing Cucumber method for writing my test case but when getting to the page for writing in this method I get an error when attempting to use Given When Then. See images. 

What is missing for this to work? Is it related to a template or perhaps a plugin is necessary?

Regards

DuboCucumber Test Scenario 1.PNGCucumber Test Scenario.PNG

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
April 25, 2023

Hi @Dubo 

You should check, based on these instructions https://docs.getxray.app/display/ProductKB/%5BXray+Server%5D+Cucumber+Test+language+settings, the language you have set on your instance. From what I see on your screenshots, the keywords are not recognized by Xray. That's why most likely the test steps aren't working.

Suggest an answer

Log in or Sign up to answer