Use a context variable as data input

You can use an existing context variable as a source of data for another field. You can perform this procedure in Basic Mode or Advanced Mode. Here, we walk you through it in Basic Mode.

To use an existing context variable as a data source:

  1. On the canvas, in Basic Mode, select the test step for the data input.
  2. On the right, below the Value of element field, click Add variables and select Context Variable. This populates the field with the following string:

    {{variable_name}}

  3. Replace variable_name with the name of your variable, for example var1.
  4. Save your test flow.