Variable values
Value expressions let you auto-generate dynamic values at runtime, based on your specifications. They help you to automate important processes and reduce test design and maintenance efforts.
With variable value expressions, you can reuse the data you've previously saved to a variable, either with action mode Output or Verify. For example, to insert it into a different part of your application or to verify cell contents in a table.
To reuse a variable value, use the syntax {B[variable name]}.
Keep these things in mind:
-
The variable name in the expression is case-sensitive.
-
The variable is only available within the same test case. You can't set a variable in test case A and then reuse the value in test case B.