rtesterNew Contributor2 years agohandling a JS alert pop up that disappears if TC can't map it - is it possible? Hello. I am new to TC. Is there a way to handle a JS alert pop up that appears for 5 sec only and when disappears? I wasn’t able to map it, TC does not see it. js alert.jpg76 KB
Marsha_RModeratorDid you try this for mapping? https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/selecting-objects-using-cursor.html Otherwise you can use this to handle the window https://support.smartbear.com/testcomplete/docs/testing-with/running/handling-errors/unexpected-windows.html
rtesterNew Contributor to Marsha_R2 years agothanks for the reply. Didn't work for me though, had to work around it.
Related ContentHandle IframeValue is disappearing after savingDisappearing Transaction Log scrollbarsExceptional HandlingHandling Inconsistent popups
Recent DiscussionsBest Practices for Logging Device and Browser Info in Data-Driven Tests?Create a UserFrom via a scriptTC/LoadNinja Integration Databanks?Object detection errorMy opened window from a button click close immediatelySolved