Method msgbox / alert
Displays a dialogue box message. Use ZAP.Common.ShowMessageBox method for Script-Less approachUsage
VBScript
Function msgbox(
String 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