Question & Answer
Question
How does one use variable parameters in the TTCN3 template?
Answer
According to the TTCN-3 ETSI ES 201 873-1 V2.2.1 (2002-08) standard, variables must be declared and used in the module control part, test cases, functions, and altsteps.
Additionally, variables can be declared in component type definitions. These variables can be used in test cases, altsteps, and functions which are running on the given component type. Variables should not be declared or used in the module definition part ( global variables are not supported in TTCN-3).
So, when the user tries to use the variable in the template, the tester will show an Analyzer error.
Historical Number
KB7071
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21325494