aqDlg.ShowMessage Method

Applies to TestComplete 15.42, last modified on September 08, 2022

Description

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.

Declaration

aqDlg.ShowMessage(Message)

Message [in]    Required    String    
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Message

Specifies the text to be displayed in the message box.

Result Value

None.

Remarks

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