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.
ScreenMessage
Syntax
integer ScreenMessage (string title, string text)
Description
Display a screen message.
Parameters
title
Title (caption) of the window displaying the message.
text
The text of the message to be displayed.
Return Value
The function returns 1 if “OK” button was pressed or 0 if “Cancel” button was pressed.
Notes
- The exact behavior of this function depends on the operating system. If possible the message will contain an Ok and a Cancel button. The return value of the function reflects which button was pressed.