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
-
Double-click or drag the Wait action from the
Terminal Emulator node in the
Actions palette.
-
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.
-
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:
Option | Input 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. |
-
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.
-
In the Assign value to variable list, select a string
variable.