Using Wait action - Use the Wait action to pause a bot until a specific condition is met in the terminal, such as specified text appearing on the screen or the cursor moving to a specified position.

Automation 360

Use the Wait action to pause a bot until a specific condition is met in the terminal, such as specified text appearing on the screen or the cursor moving to a specified position.

About this task

To wait until a specific condition is met in the terminal:

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 the condition the system waits for.
    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 the last line of the screen in the terminal.

    Wait till text disappears

    Waits until the text you specified in the Text field no longer matches the last line of the screen in the terminal.

    Wait vetill cursor moves to position Waits until the cursor moves to the position you 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 until the cursor moves out of the position you 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 until the text you specified in the Text field appears 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, that the system waits before the operation times out.
    Note: The bot execution fails and displays an error if the operation is not completed within the specified time.
  5. Click Save.