IBM
Contents Index Previous Next



Generating Behaviour Statements


In TTCN behaviour tables it is possible to get lists of user defined objects (e.g. constraints, timers etc.). Through these lists, you can generate a statement.

When you invoke the following commands, a row in the table should have the input focus.

Data Dictionary > Add Send Statement

Generate a Send statement by selecting a PCO, a type and a constraint.

This functionality requires that the TTCN document is analyzed. The PCOs, types and constraints with major reference problems or missing type references will not be presented in these lists.

Each list is split in two parts. The upper part contains the items corresponding to the selected items in the other lists. The lower part contains the rest of the items.

Figure 204 : Add Send statement dialog (receive is analogous)

Data Dictionary > Add Receive Statement

Generate a Receive statement by selecting a PCO, a type and a constraint.

A dialog which is analogous with Add Send Statement will be displayed.

Data Dictionary > Add StartTimer Statement

Generate a StartTimer statement by selecting a timer.

Figure 205 : Add StartTimer Statement dialog

Data Dictionary > Add CancelTimer Statement

Generate a CancelTimer statement by selecting a timer.

A dialog which is analogous with Add StartTimer Statement will be displayed.

Data Dictionary > Add Attach Statement

Generate an Attach statement by selecting a test step and specifying an actual parameter list (if the test step has a formal parameter list).

Figure 206 : Add Attach Statement dialog

Data Dictionary > Add Timeout Statement

Generate a Timeout statement by selecting a timer.

A dialog which is analogous with Add StartTimer Statement will be displayed.


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