The Wait Terminal action is used to pause a task until a particular condition occurs in an active terminal session. The terminal session must be created in an earlier step using the Connect Terminal action.
From the Task Builder Available Actions pane, open the Terminal folder and double-click the Wait Terminal action or drag it into the Steps pane.
In the Wait for box, select the action to wait for.
If the action to wait for is Text to appear or Text to disappear, enter the properties as follows:
Enter the text in the Text box. To use a variable or expression to specify the text, click the Insert Expression/Variable button and use the Expression Builder to enter it.
If you want to use regular expression patterns in the Text box, click Regular expression.
To require a case sensitive match, click Case sensitive.
If the action to wait for is Cursor to move to or Cursor to move out of, enter the row and column in the Cursor row and Cursor column boxes.
In the Timeout box, enter the time to wait in milliseconds. If the action has not occurred before this amount of time passes, the step fails.
In the Session name box, enter the session name. If your task has only one terminal session and you did not change the default session name when you created it (recommended), you can use the default entry.
If the action to wait for involves text that you want to populate a variable, click the Advanced tab and select the variable to populate.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Wait Terminal Action