All Downloads are FREE. Search and download functionalities are using the official Maven repository.

desc.ConfirmAction.txt Maven / Gradle / Ivy

There is a newer version: 1.9
Show newest version
Dismisses currently shown confirmation dialog and returns it's message.

By default, this keyword chooses 'Ok' option from the dialog. If 'cancel' needs to be chosen, keyword Choose Cancel On Next Confirmation must be called before the action that causes the confirmation dialog to be shown.

Examples:
| Click Button | Send | # Shows a confirmation dialog |
| ${message}= | Confirm Action | # Chooses Ok |
| Should Be Equal | ${message} | Are your sure? |
| | | |
| Choose Cancel On Next Confirmation |
| Click Button | Send | # Shows a confirmation dialog |
| Confirm Action | | # Chooses Cancel |




© 2015 - 2024 Weber Informatics LLC | Privacy Policy