cancel
Showing results for 
Search instead for 
Did you mean: 

Get alert to appear

Highlighted
Occasional Contributor

Get alert to appear

I 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 REPLIES 4
Highlighted
Community Hero

RE: Get alert to appear

Hi Patrick,



Have a look at aqDlg.MessageDlg() function. Does it work for you?
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Occasional Contributor

RE: Get alert to appear

It doesn't work for me.  I need a message to display in a regular TestComplete script, not a script extension.
Highlighted
Community Hero

RE: Get alert to appear

That's strange...

What about BuiltIn.ShowMessage() and aqDlg.ShowMessage() ?
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Occasional Contributor

RE: Get alert to appear

That one works great (BuiltIn.ShowMessage()).  Thanks!
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors