aqDlg.ShowMessage Method

Applies to TestComplete 15.20, last modified on January 13, 2022


Use this method to display a dialog box that contains the specified text and the OK button. To display a dialog having more buttons, use the aqDlg.MessageDlg method.



Message [in]    Required    String    
Result None

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the text to be displayed in the message box.

Result Value



To be able to use characters other than English ones, save your script in the UTF-8 format.

The aqDlg object and all of its methods can only be used in script extensions. If you need to show the text box from an ordinary script, use the TestComplete built-in ShowMessage function.

See Also

aqDlg Object
MessageDlg Method
ShowError Method

Highlight search results