Links

Context Variables (scenario parameters)

In a manner similar to traditional programming languages, the platform supports context (local) variables. These variables are designed for use within specific scenarios, and their scope is limited to the execution of those scenarios. In all other cases, they are assigned a null value.

Adding context parameters in START step settings

You can setup context variables when creating a scenario (START step settings, Parameters tab):

Using context variables in scenarios

You can both write and read context variables in your scenario as if they were regular object fields. You can invoke this variable typing or choosing {{ContextVar.variableName}}
You can set the context variables values in Link scenario step:

Testing blocks with context variables

As mentioned before, a variable receives value only during the scenario run. Therefore, when testing blocks via testing step, if set, the current value is returned.