Attended Automation: Dialogue Box action in ScenarioBuilder

In the case of attended automation, where a person is involved with providing feedback in the automation process, the Dialogue Box is the window of interaction. It gives feedback via popups with info, warning or error messages. It requests information from the user in order to decide how to proceed. 

The Dialog Box action can be used to:

  • Present information or warn the user of errors and to prompt for directions on how to proceed after an error has occurred. 
  • Display messages and get input from the user.
  • Ask the user for directions when the robot doesn’t know how to continue the process.
  • Insert info in your test for specific actions (passwords or info that was not saved in ScenarioBuilder).

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_59

Properties:

Dialog Box Title - Provide a meaningful name to the dialog box. By default, it is named as "Automai - Dialog Box". 

Dialog Box Icon - Use the pull-down menu to select a type for the icon to show in the dialog box. The types can be Error, Info or Warning. 

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_30

Dialog Box Message 1 - Specify the first message that you want to show in the dialog box.

Set Variable - [Optional] Enter the name of the variable you want to set its value. This can be an existing or a new variable.

Dialog Box Message 2 - [Optional] Specify the second message that you want to show in the dialog box.

Timeout - Duration in seconds to wait for user input, or close the dialog box. If you want the dialog box to wait for user input indefinitely, put 0 value.

Scenario Section - This is for Global scenarios only. Specify the section name that can be called from other scenarios.

Example 1:

Steps:

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_72

Dialog Box properties:

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_37

Once the execution reaches the Dialog Box step, ScenarioBuilder will show a message box with the given messages with the options to resume or stop the execution.

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_34

Click "Yes" to continue executing the next steps or click "No" to stop the execution of the scenario.

Example 2:

Steps:

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_71

First Dialog Box properties:   

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_39

Once the execution reaches the first Dialog Box step, ScenarioBuilder will show a message box that prompts the user with a given message and an input field.

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_41

Once the user enters the data, ScenarioBuilder will display the information with the options to resume or stop the execution in the second Dialog Box. 

Second Dialog Box properties:

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_40

Attended Automation_ Dialogue Box action in ScenarioBuilder (360008931054)_Screenshot_42

Click "Yes" to continue executing the next steps or click "No" to stop the execution of the scenario.