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:
- On the canvas, in Basic Mode, add a new test step and select Variables > Check Variables.
- 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
- Save your test flow.