Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Scenario Type cucumber test Xray

Edited
Jonathan Santos
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 04, 2021

Hello , we need your help, when designing outline scenarios, when adding the reserved word  in the steps in the Issue type test, when downloading the Feature it duplicates the Scenario. I send reference image

Thanks

:)

 Captura de Pantalla 2021-10-04 a la(s) 12.16.00.pngCaptura de Pantalla 2021-10-04 a la(s) 12.16.34.png

3 answers

I met the same issue, that you can't choose Scenario Types from a jira ticket. This is not matching with https://docs.getxray.app/pages/viewpage.action?pageId=62268093

 

Yet, you still can get Scenario Outline by appending your arguments into the bottom of feature files. Most importantly, DO NOT ADD arguments into Datasets, otherwise it is still Scenario but not Scenario Outline.

 

@TEST_XXX-123
Scenario Outline: some test
Given  some argument <Test 1>
And some steps

Examples:
| Test 1 |
| 111 |
| 222 |

Jonathan,

After reading in the help for the Cloud version I found this phrase, which is NOT very clear, but lead me to the solution:

"The Scenario Types are inferred from the Scenario specification, i.e., the behavior to be reproduced by the Cucumber tool in entered in the Steps field."

This means: Do NOT write the words "Scenario outline" in the steps. XRay will see it's an outline because there are Examples included in the steps. When you export cucumber, you'll see the feature generated is correct.

Cheers.

We're having the same problem.

I think that the problem is: The field "Scenario type" does NOT come up when selecting the "Cucumber" type as it appears in the documentation.

If it did, we would just select "Scenario outline" instead of "Scenario", but right now it's not an option.

I insist, it looks like we should have that option, but we don't.

Please, Atlassian people, let us know whether it's really supported, and if it is, let us know why the field isn't showing up.

Thanks.

Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 18, 2021

Hi @Jonathan Santos and @Miguel Á. Herrero 

In a Scenario of Xray Test, it is only necessary to have the Cucumber Steps, there is no need to have the words "Scenario outline" in it. Actually, if it has the words it does not work correctly.

Also, in Xray Cloud, it does not have the Cucumber Type field (like in Jira DC/Server) so in Cloud it is not necessary to set up this field, Xray will handle both Cucumber types.

If you need additional help, please contact Xray Support (http://xraysupport.getxray.app) to help further.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events