Get Dialog Message Text
Last modified: May 15, 2023
1 Description
Returns the text from messages and confirmation dialogs
2 Supported Widgets
- ConfirmationDialog
- DialogMessage
3 Usage
You have to pass the dialog as WebElement to the action. To get the dialog as WebElement use the action Find/Assert Dialog.
4 Input Parameters
Name | Datatype | Required | Description |
---|---|---|---|
Dialog | WebElement | yes | The dialog as WebElement of which you want to get the message text |
5 Return Value
Name | Datatype | Description |
---|---|---|
Text | String | The message or confirmation text |
Feedback
Was this page helpful?
Glad to hear it! Thank you for your response.
Sorry to hear that. Please tell us how we can improve.