message, msgbox, messagebox, dialog, alert, scriptless, script-less, scripted, step, view, stepview

Method msgbox / Alert

Displays a dialogue box message. Use Zap.Common.ShowMessageBox method for Script-Less approach

Watch this video to learn how to use this method

Have a problem with playback?

Usage

VBScript

Function msgbox( 
	String Text
)

JavaScript

function alert( 
	string text
)

ZAP Utility

Zap.Comm...Box

text

Text

Parameters

Text

Type: String

Dialogue message text

Returns

No return value

Example

VBScript

msgbox Application("Demo").View("DemoView").Object("DemoObject").GetText

JavaScript

alert(Application("Demo").View("DemoView").Object("DemoObject").GetText());

Comment

Get text property from object and show message box with result

Variable

text

GetProperty

Text

ZAP Utility

Zap.Comm...Box

Zap.Variable("text")

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227