Dialogs - Documentation

Version: 2.1.2

Introduction

A test library providing dialogs for interacting with users.

Dialogs is Robot Framework's standard library that provides means for pausing the test execution and getting input from users. The dialogs are slightly different depending on are tests run on Python or Jython but they provide the same functionality.

Shortcuts

Keywords

Keyword Arguments Documentation
Execute Manual Step message, default_error= Pauses the test execution until user sets the keyword status.

message is the instruction shown in the dialog. User can select PASS or FAIL, and in the latter case an additional dialog is opened for defining the error message. default_error is the possible default value shown in the error message dialog.
Get Selection From User message, *values Pauses the test execution and asks user to select value

message is the instruction shown in the dialog. and values are the options given to the user. Selecting 'Cancel' fails the keyword.
Get Value From User message, default_value= Pauses the test execution and asks user to input a value.

message is the instruction shown in the dialog. default_value is the possible default value shown in the input field. Selecting 'Cancel' fails the keyword.
Pause Execution message=Test execution paused. Press OK to continue. Pauses the test execution and shows dialog with the text message.