IBM Support

How does one use variable parameters in the TTCN3 template?

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.

TAU/TesterTAUTEST-FAQ-26AnswerProduct versionPartner ContentInternal ContentCategoryReference ID

[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

KB7071

Document Information

Modified date:
16 June 2018

UID

swg21325494