background image
<< Preparing to Test for Memory Errors | Viewing the Results for Memory Errors >>
<< Preparing to Test for Memory Errors | Viewing the Results for Memory Errors >>

Running a Pilot to Check for Memory Errors

Automatically Generating Scripts
5-36
After you set up the AUT, memory checking remains in effect for all Pilots and
scripts until you clear the Detect memory errors for this session check box, change
projects and then reopen the original project, or quit TestFactory.
To make memory checking unavailable:
1. Click Tools > Options.
2. Under Memory error detection on the General tab, clear the Detect memory
errors for this session check box.
3. Click OK.
Running a Pilot to Check for Memory Errors
You can run an existing Pilot, or insert a new one to check for memory errors. The
steps for setting up a memory-checking Pilot run are the same as those for other Pilot
runs. A memory-checking Pilot differs from other Pilot runs in that it can only be
run on your local machine, and TestFactory does not calculate code coverage values
for the scripts that are generated. (TestFactory ignores the value set for
Code coverage on the Stop Criteria tab.)
A Pilot that you run to check memory errors runs much more slowly and uses
significantly more memory than it would otherwise. If you start a Pilot run and you
see a system error message indicating that the machine has insufficient resources to
run the Pilot, consider increasing your system resources before you test for
memory errors.
Checking the Timing of a Pilot Run
If you start a Pilot run without first setting up the AUT for memory checking, do
the following:
After you start the run, monitor the Pilot progress bar until you see running
scripts displayed in the Status box. If the AUT starts within five minutes, you
can stop monitoring the Pilot run. If the AUT has not started after five minutes,
do the following:
a. To stop the Pilot run, click Stop on the Pilot progress bar.
b. After the TestFactory window is restored, click Tools > Options.
c. Under Memory error detection on the General tab, click Set Up AUT For
Memory Detection.
d. After the AUT is set up, click OK. (Setup can take several minutes.)