Using variables in a test

Previous Next

You can use test variables in a number of ways. Most importantly, variables allow you to:

Pick up some value from a control and store it for re-use later in the test.

Test whether some value encountered in a control, at some point in the test run, is in fact the expected value at that point.

Run ("Invoke") the same test repeatedly with different input values.

Web Benchmark variables can reference not only literal data values, but also the names, occurrences and row numbers (if applicable) of the controls that represent those values, and of other controls.

 

collapseWorking with variables
collapseProperty types
collapseDynamic value Y/N
collapseStoring a value from a control in a variable
collapseApplying a variable to a control
collapseDefining a variable
collapseDefining an invocation parameter

 

See also

The Web Benchmark control