pschutzOccasional Contributor14 years agoGet alert to appearI want to create an alert with JScript that will display in the middle of a test. I tried window.alert("This is my alert") with no success. Is there any way to get an alert to work.
4 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewestAlexKarasChampion Level 314 years agoHi Patrick,Have a look at aqDlg.MessageDlg() function. Does it work for you?pschutzOccasional Contributor14 years agoIt doesn't work for me. I need a message to display in a regular TestComplete script, not a script extension.AlexKarasChampion Level 314 years agoThat's strange...What about BuiltIn.ShowMessage() and aqDlg.ShowMessage() ?pschutzOccasional Contributor14 years agoThat one works great (BuiltIn.ShowMessage()). Thanks!
AlexKarasChampion Level 314 years agoHi Patrick,Have a look at aqDlg.MessageDlg() function. Does it work for you?
pschutzOccasional Contributor14 years agoIt doesn't work for me. I need a message to display in a regular TestComplete script, not a script extension.
AlexKarasChampion Level 314 years agoThat's strange...What about BuiltIn.ShowMessage() and aqDlg.ShowMessage() ?
Related ContentUsing sendmail for test failure alertsAlert message"Real" repeat alertsSessionCreator does not open alert window in browser, although TestComplete and TestExecute doTestComplete iOS bypass permission alert
Recent DiscussionsFloating window **bleep** overlapping window takes longer time (~10 min) to click the button on it.Test case randomly fails with "parent object was not found"Does TC have a .within() method similar to Cypress.io?SolvedSessionCreator /Timeout option not firing EventControl_OnTimeouttestcomplete feature Intelligent Quality Add Ons