yuchangContributor11 years agoHow to display a messagebox using Jscript in TestCompleteTried to display a message for example using window.alert("Welcome to TestComplete.");However it shows "Microsoft JScript runtime error. 'window' is undefined"Please help me how to run regular JScript/Javascript in TestComplete.
2 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewesthowie_Contributor11 years agoI think you're looking for BuiltIn.ShowMessage()BuiltIn.ShowMessage("Welcome to TestComplete.");yuchangContributor11 years agoHow to close this window in the script?
howie_Contributor11 years agoI think you're looking for BuiltIn.ShowMessage()BuiltIn.ShowMessage("Welcome to TestComplete.");
Related ContentHow get message in messageboxDisplay TestExecute/TestComplete results on TeamCity build logTestComplete with Zephyr ScaleTestComplete with Zephyr ScaleTestComplete - 14.61.294.7 x64 Blank update pop up displayed
Recent DiscussionsTestComplete Version: 15.49.6.7 x64 and Firefox 125.0.3TestComplete15.63 is unable to recognize a range of standard html controls in Object BrowserCheck PopupMenu existsSolvedTestComplete Not Recognizing Title elementEdge browser compatibility