Next: , Previous: sendreceive keyword, Up: Remote test case control


5.9.4 expect keyword

The expect keyword is used in slave script to expect a variable value from master. Variable must be declared by using var keyword. Expecting a variable value from slave to master is described in Section remote keyword.

The expect keyword has one mandatory argument, described below.

Argument
variable name
The name of the variable.

The expect keyword can be used for example in the following way:

     var variable1
     expect variable1