Multiple scenarios in a single testcase

Johan Gründer May 21, 2023


is it possible to add multiple scenarios to a single testcase in xRay?

As you can see in my example image below, it looks like i have to create a test-case for every scenario. But i would like to have one test-case and they should have multiple scenarios. Is this possible somehow?


1 answer

0 votes
Nitin I March 5, 2024

I am also facing this same problem. @Johan Gründer have u found any solution to this issue? If yes, pls update here. Thanks in advance.

Johan Gründer March 6, 2024

Hey, it sadly doesnt work. For every single scenario you will need its own test (which is a pretty bad solution imo)

However if you have the same test with different values you can  iterate through the same test with different values using the scenario outline, which would look like this:

Given Open url
When Click on show more button "<button>"
Then  Additional text is shown


Like Nitin I likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events