Example: TE_wait_sync

In the following script segment, the script logs on with the user name "QUSER" and the password "MERCURY". The script then presses Enter to submit the login details to the server. The TE_wait_sync statement causes the script to wait until the server has responded to the login request before executing the next line of the script.

TE_type("QUSER");
lr_think_time(2);
TE_type("<kTAB>MERCURY");
lr_think_time(3);
TE_type("<kENTER>");
TE_wait_sync();
....