Automation Guide
Action-based testing language
TestArchitect Automation Classes
Engine class methods ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAXklEQVRIiWNgGAWjAAoYoZhmhk9kYGCYQStLHBgYGP4xMDD8h1pEE0vSkSyhmU9GqCVMtHABJYCmQTR0DXdgoCCjMROh5iEDA4MgAwPDRQYGhlyoRVQHNC3sRsEQBwD2mR7t73r7NQAAAABJRU5ErkJggg==)
The requested page is not available for selected version.
DiagnosticMessage
Syntax
string DiagnosticMessage (integer code)
Description
Retrieve the description connected to a diagnostic code.
Parameters
code
Code of a diagnostic.
Return Value
The function returns the description associated with the diagnostic code.
Notes
A diagnostic in the engine consists of the following elements:
- diagnostic code indicating the kind of problem ( DiagnosticCode, this function, DiagnosticMessage, to translate the code into a message )
- diagnostic details, specifying more information on the problem ( DiagnosticDetails )
- diagnostic trace, an indication of the place where the problem was detected ( DiagnosticTrace ).