WHILE ... END WHILE

System Testing Test Script Language.

Syntax

WHILE ( condition )

END WHILE

Description

The instruction WHILE is a control structure. All the instructions between WHILE and END WHILE is executed if the condition is true.

Example

#int i = 0;

SCENARIO Main   

CALL api1_func...   

WHILE (i<100)      

CALL api_val(i)      

VAR i, INIT=i+1   

END WHILE   

...

END SCENARIO

Related Topics

Iterations