Open EliottPaillard opened 2 weeks ago
Not when directly in a test case, no. The reason for this is that such descriptions need to be fixed for the duration of the test session to be able to show the execution diagram before, during and after the session starts/completes.
However, if you need to have different descriptions for a step in different cases we do support defining the entire desc attribute with a variable reference if this is inside a scriptlet. The requirement here however is that at test case load time, the value of this variable can already be determined. In this case you could set the step's description via scriptlet inputs with fixed string values when used in different test cases.
This specific option is documented in much more detail here. Note that it also applied to other attributes such as actors (to e.g. adapt the direction of messaging) and titles.
Is there a way currently to use variables in "desc" element (of verify tag for instance)?