background image
<< OPERATIONS Variable | Variables Used in EJB Scenario Test Templates >>
<< OPERATIONS Variable | Variables Used in EJB Scenario Test Templates >>

Variables Used in COM/VB Scenario Test Templates

130
Appendix A - Template Replacement Variables
Variables Used Only in the COM/VB Scenario Test Templates
The following table lists the replacement variables that are used only in the COM/VB
templates for scenario test generation:
Variable
Description
Template
<
VARIABLE
_
DECLARATIONS
> Generated code for declaring script
program variables used in datapools and
as parameters in operations.
Com_scenario_script
<
SCRIPT
_
DIRECTORY
>
The directory path where this script lives,
relative to directory "root" where RQA
scripts are stored.
Example:
\scenariotests\ratlbankacct\usecaseview
Com_scenario_script
<
MODEL
_
NAME
>
The name of the model with the file path
and file extension removed. For example,
given "C:\TEMP\mymodel.mdl", the
<MODEL_NAME> is "mymodel".
Com_scenario_basmain
<
INDEX
>
If used, this is a monotonically increasing
integer used to uniquely identify instances
of like-named things. Typically not used in
code generated for secenarios.
Com_scenario_basmain
<
OPERATION
_
NAME
>
Name of an operation. This corresponds to
the Rose operation name.
Com_scenario_operation
<
OPERATION
_
ARGLIST
>
The argument list for an operation.
Derived from the Rose parameters
collection associated with an operation.
Com_scenario_operation
<
COCLASS
_
NAME
>
Name of the coclass implementing the
Interface object referenced in the diagram.
Com_scenario_constructor
<
COCLASS
_
GUID
>
CoClass GUID that implements the
interface that the operation belongs to. If
more than one coclass implements the
interface, the user is allowed to select the
coclass to use.
Com_scenario_constructor