UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
GetDialogText Method
Returns the text displayed in a browser message box, such as an alert, confirmation, or prompt.
Syntax
string GetDialogText()