background image
<< Displaying the Shared Variables View | Debugging a Test Script >>
<< Displaying the Shared Variables View | Debugging a Test Script >>

Displaying the Test Script View

Monitoring Test Runs
143
4
If the shared variable is being dynamically updated, you cannot type a new value.
By the time you read the value, determine the changed value, and type it, a virtual
tester may have modified the value. If this occurs, your change is lost. Instead:
Under
Operators
, choose an operator. If you choose the subtract (-) or divisor (/)
operators, the order for operations is:
existing value - new value
existing value / new value
For example, assume the shared variable has a current value of 6. If you type 4 in
the
Value of
box and click the
-
operator, the new value of the shared variable is 2,
because 6 - 4 = 2.
5
Click
OK.
Displaying the Virtual Testers Waiting on a Shared Variable
If your test scripts contain shared variables, you can see the virtual testers waiting on
each shared variable.
To display the virtual testers waiting on a shared variable:
1
In the Shared Variables view, double-click the variable name, or right-click in the
test script.
2
Click
See Users
.
Displaying the Test Script View
The Test script view displays the test script that is running and highlights the line of
code that a virtual tester is executing. This view is useful for watching the progress of
a virtual tester through a test script.