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 Utility step

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

Script-Less next step

Variable

text

ZAP Object step

GetProperty

Text

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Comm...Box

Zap.Variable("text")

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552