Library version: | 3.2.2 |
---|---|
Library scope: | GLOBAL |
Named arguments: | supported |
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 whether tests are run on Python, IronPython or Jython but they provide the same functionality.
Long lines in the provided messages are wrapped automatically. If you want to wrap lines manually, you can add newlines using the \n
character sequence.
The library has a known limitation that it cannot be used with timeouts on Python. Support for IronPython was added in Robot Framework 2.9.2.
Keyword | Arguments | Documentation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Execute Manual Step | message, default_error= | Pauses test execution until user sets the keyword status. User can press either
| ||||||||
Get Selection From User | message, *values | Pauses test execution and asks user to select a value. The selected value is returned. Pressing
Example:
| ||||||||
Get Selections From User | message, *values | Pauses test execution and asks user to select multiple values. The selected values are returned as a list. Selecting no values is OK and in that case the returned list is empty. Pressing
Example:
New in Robot Framework 3.1. | ||||||||
Get Value From User | message, default_value=, hidden=False | Pauses test execution and asks user to input a value. Value typed by the user, or the possible default value, is returned. Returning an empty value is fine, but pressing
If Example:
Considering strings | ||||||||
Pause Execution | message=Test execution paused. Press OK to continue. | Pauses test execution until user clicks
|