SHARE

System Testing Test Script Language.

Syntax

SHARE <identifier>

Description

The SHARE instruction allows you to specify global static variables declared in a test script.

This allows all instances of the same test script, to share these variables in multi-thread environments.

Associated Rules

The SHARE instruction must be at the beginning of a test script, before the first block.

The identifier is the name of the global static variable declared at the beginning of the test script.

Example

#static int id_Connection;

#static int Synchro;

#static int buffer;

SHARE Synchro

SCENARIO Test1

FAMILY nominal

...