Using Wait action

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:
    OptionInput required
    Wait till text appears Waits until the text you specified in the Text field matches with the last line of the screen in the terminal.
    Wait till text disappears Waits until the text you specified in the Text field does not match or disappears on the last line of the screen in the terminal.
    Wait till cursor moves to position Waits till the cursor moves to the position you have specified in the Move to row and Move to column fields.
    Note: You can enter a value of 1 through 999 to specify the row and column number where the cursor is set.
    Wait till cursor moves out of position Waits till the cursor moves out of the position you have specified in the Move out of row and Move out of column fields.
    Note: You can enter a value of 1 through 999 to specify the row and column number where the cursor is set.
    Wait till screen gets blank No input required.
    Wait till screen contains text Waits till the text you have specified in the Text field is available on the screen of the terminal.
    Wait till terminal prompt appears No input required.
    Wait till terminal ready state No input required.
  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.
  5. In the Assign value to variable list, select a string variable.