Skip to content

qtm.gui.message

Interface to the messages window.

import qtm

qtm.gui.message.add_message("information message", "detailed information", "info")

qtm.gui.message.add_message("warning message", "detailed information", "warning")

qtm.gui.message.add_message("error message", "detailed information", "error")
qtm.gui.message.add_message("information message", "detailed information", "info")

qtm.gui.message.add_message("warning message", "detailed information", "warning")

qtm.gui.message.add_message("error message", "detailed information", "error")
curl --json "[\"information message\", \"detailed information\", \"info\"]" http://localhost:7979/api/scripting/qtm/gui/message/add_message/

curl --json "[\"warning message\", \"detailed information\", \"warning\"]" http://localhost:7979/api/scripting/qtm/gui/message/add_message/

curl --json "[\"error message\", \"detailed information\", \"error\"]" http://localhost:7979/api/scripting/qtm/gui/message/add_message/

add_message

Add a message.

Parameters

message string
The message (shown in the message log).

details string
Detailed information (shown when double-clicking the message).

type "info"|"warning"|"error"
The type of message.


help

Get the documentation for a module or method.

Parameters

method string?
The name of the method (if null, the documentation for the module will be returned instead).

Returns

string