INITIALIZATION ... END INITIALIZATION
System Testing Test Script Language.
Syntax
INITIALIZATION [ <proc> ( [ <arg> { , <arg> } ] ) ]
END INITIALIZATION
Description
The INITIALIZATION instruction initializes a specific environment by executing a set of instructions or the procedure <proc>. END INITIALIZATION marks the end of the INITIALIZATION block.
An INITIALIZATION block or instruction applies to the set of scenarios at its level. It does not apply to sub-scenarios.
The INITIALIZATION instruction or block is optional.
A maximum of one INITIALIZATION block or instruction may occur at a given scenario level.
This instruction is executed before every scenario at the same level.
The INITIALIZATION instruction may appear anywhere among scenarios at a given level.
Example
...
INITIALIZATION
CALL socket (AF_INET, SOCK_DGRAM, 0)@@ds
...
FD_ADD(ds,SOCKAPI)
END INITIALIZATION
...
Related Topics