Use the Wait action to introduce a delay till specific conditions are met in the terminal. You can use this action to wait before executing the next action till the specific text appears on the screen, the cursor moves to the specified location, and so on. You can use this action with the TN3270E, TN5250E, ANSI, and VT100 terminal types.

To wait till specific conditions are met in the terminal, do the following:

Procedure

  1. Double-click or drag the Wait action from the Terminal Emulator node in the Actions palette.
  2. Enter the name of the session that you have used to establish a connection with the terminal using the Connect action in the Terminal emulator session name field.
  3. Select an option from the Terminal event list to specify a condition the system should wait till it is met.
    The following table provides information about the options available in the list and the input required for each option:
  4. Enter a value in the How long you would like to wait? field to specify the period (in milliseconds) the system must wait before the operation times out.
    Note: The bot execution fails and displays an error if the operation is not performed within the time you specify.
  5. In the Assign value to variable list, select a string variable.