Join Wintertainment 2021 to share your stories, have fun, earn community badges, and more!

aqDlg.ShowError Method

Applies to TestComplete 15.10, last modified on December 07, 2021


The aqDlg.ShowError method displays a message box with a red stop-sign icon, the specified text and the OK button. You can use this method to notify the user of errors that occur in your script extension.

To display a custom error message box, 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:


The text of the error message.

Result Value



If the message text contains characters in a language other than English, you should save the 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 an error message box from an ordinary script, use the TestComplete built-in MessageDlg function.

See Also

aqDlg Object
MessageDlg Method
ShowMessage Method

Highlight search results