is there a way to refer to a teststep within an action of another teststep?

Jos Hollaar
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!
September 18, 2024

In a teststep of an XRay testcase, I want to have "repeat step X1 and X2 with condition X"
But because I also use to call another testcase the steps in the execution are numbered differently than in the design. 
Is there something like a variable to use? 

1 answer

1 vote
Manuel
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.
October 19, 2024

You can add a step that calls another Test as detailed here.

That is the way Xray allows you to do it; however you cannot call a specific step of another test or even refer explicitly to another step within the same Test.

Answering directly to your question, there is nothing that provides something like that out-of-the-box.

You could abstract some sequential steps as a Test itself.. and then use it as a modular test. However, depending on the concrete use case, that could not make sense at all.

Suggest an answer

Log in or Sign up to answer