background image
<< Viewing the Results for Memory Errors | Testing Controls in the AUT >>
<< Viewing the Results for Memory Errors | Testing Controls in the AUT >>

Running Scripts to Check for Memory Errors

Automatically Generating Scripts
5-38
2. Rerun the Pilot.
3. If the Pilot run generated defect scripts, view their logs until you find one or two
that are associated with memory errors.
4. Fix the memory errors in the AUT, and then rerun the Pilot.
If the Pilot encountered the same memory error repeatedly during the previous run,
then tracking down and fixing the first occurrence of a memory error should reduce
the number of redundant defect scripts generated.
If your memory-checking Pilots are generating large numbers of non-duplicate
defect scripts for relatively small functional areas of the AUT, it could indicate that
you started checking for memory errors too early in the development cycle.
Consider waiting until the AUT is further developed before you check for
memory errors.
Running Scripts to Check for Memory Errors
In addition to running Pilots that check for memory errors in the AUT, you can run
existing scripts from TestFactory to check for memory errors.
To run scripts to test for memory errors in the AUT:
1. Click Tools > Options.
2. Under Memory error detection on the General tab, select the Detect memory
errors for this session check box.
3. To set up the AUT now, click Set Up AUT For Memory Detection.
4. After the AUT is set up, click OK.
5. In the application map, right-click the script that you want to run for memory-
checking, and then click Play Back on the shortcut menu.
You can also run multiple scripts in a Test Suite to check for memory errors. For
information about running Test Suites, see Chapter 6, Developing and Running a
Test Suite
.