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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.