Get Dialog Message Text

Last modified: June 18, 2025

Description

Returns the text from messages and confirmation dialogs

Supported Widgets

  • ConfirmationDialog
  • DialogMessage

Usage

You have to pass the dialog as WebElement to the action. To get the dialog as WebElement use the action Find/Assert Dialog.

Input Parameters

NameDatatypeRequiredDescription
DialogWebElementyesThe dialog as WebElement of which you want to get the message text

Return Value

NameDatatypeDescription
TextStringThe message or confirmation text