Getting Started


Starting the test

When the testpoints are set you can start the test and specify how tracing takes place from the Test Monitor window.

To start the VisualAge Generator test facility:

  1. In the Program Editor, select the Test button on the tool bar.

    The Test Monitor is displayed.

Figure 66. Test Monitor

Test Monitor

Use the row of push buttons along the bottom of the Test Monitor window to monitor and control the test.

Step
Step runs the highlighted statements in the Statement Monitor list and steps into any performed functions.

Leap
Leap runs the highlighted statements in the Statement Monitor list to completion without stepping into any performed functions.

Run
Run starts or resumes the test.

Stop
Stop suspends the test.

Figure bypass not displayed.
Bypass skips over the highlighted statement in the Statement Monitor list.

Figure return not displayed.
Return runs up to the return point of the current function, main function flow, or the program's components list entry.

To trace every action:

  1. From the Tools menu, select Trace>Trace All.

    The test facility traces all statements.

The basic structure of your program is defined, so the map is displayed when you run a test. To allow the program to run up to that point:

  1. Select Run Run

    The CONVERSE I/O option displays your map in the Map Monitor.

You open the map using the Map Editor, without exiting the test facility. When you save your change, you can reposition the test pointer and run the CONVERSE I/O option again, using the updated map definition. Refer to the VisualAge Generator help facility, for more information on test facility features.

To continue the test, on the Map Monitor window:

  1. On the Map Monitor window, type 10 and press Enter.

    The Map Monitor window closes and the test continues. It stops at the breakpoint you set on GET-LIST.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]