cancel
Showing results for 
Search instead for 
Did you mean: 

TC Javascript alerts

Highlighted
jrose141
Occasional Contributor

TC Javascript alerts

I'm assuming the answer is no but can LoadRunner TC respond to JavaScript alert dialogs. It records the pressing of the "OK" button but will time-out when executing the step.

2 REPLIES
vmanolova
HPE Expert

Re: TC Javascript alerts

Hi,

 

Is there something specific about this JavaScript prompt?

For example the prompt generated by Try it button in http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirm records and replays without issues in TruClient IE 11.52 and 12.

 

Kind regards,

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
jrose141
Occasional Contributor

Re: TC Javascript alerts

Looks like the issue is that you can not step(F8)  through the alert but if you just let it run it works just fine. Now that I know this, this is not a problem. Thanks, Jeff

//Add this to "OnDomLoad" event