IBM
Contents Index Previous Next



Analyzing the Test Suite


What You Will Learn

Analyzing the Test Suite

You are now going to analyze the test suite:

  1. Select Analyze from the Browser Tools menu.
    The Analyzer dialog is opened. You do not have to change the settings in this tutorial.

Figure 44 : The Analyzer dialog

  1. Click Analyze.
    The log window is opened. If you have edited the test suite as described above, the log should show a single error message:

Figure 45 : The TTCN Suite log window showing one error

The log text means that there is an error in line 1 of the Behaviour Description of the test case dynamic behaviour table called TEST_CASE_1.

Finding and Correcting the Error

To find the erroneous table:

  1. Select the test case name in the log.

Figure 46 : Selecting text in the TTCN Suite log

  1. Select Find Table from the Browser Tools menu.
    The table will be found and displayed. In the first behaviour line you can see that you have written SENT instead of SEND.
    Note that the error line is marked in red. In the Browser, the erroneous table is also marked with a red bar.
  2. Correct the error, i.e. change SENT to SEND.
  3. Analyze the table by selecting Analyze from the Table Editor Tools menu.
    You will now have a small test suite that is syntactically correct. This means that the red markings will disappear.
    You may now close the table editor and log windows.

http://www.ibm.com/rational
Contents Index Previous Next