Compare variables

You can compare variables in a test step using mathematical expressions. This is helpful, for example, when you need to compare the prices of items.

To compare variables:

  1. On the canvas, in Basic Mode, add a new test step and select Variables > Check Variables.
  2. In the right pane, provide the following details:
    • Expression: The first mathematical expression to compare, such as var1
    • Sign: The comparator, such as > or =
    • Expression: The second mathematical expression to compare with, such as var2
  3. Save your test flow.