cancel
Showing results for 
Search instead for 
Did you mean: 

Handling long running Javascript on a web application

RaghavSapra1
Level 3
Hi All, I have been working on a JSP page where upon clicking on a link another sub page gets opens and takes some time to get responsive(a min or so) because of a long running Javascript. I found that the only way to identify if new page has became responsive is a scroll bar that appears on application once the page has completely loaded but is not something that can be spied. Please suggest if without using any kind of static wait we could use some method to judge if page has became responsive and ready to be worked upon as I need to click on a dropdown on the new page which doesn't works till the time page is non responding
2 REPLIES 2

david.l.morris
Level 15
Have you tried using a wait stage with the condition 'Parent Document Loaded' or 'Document Loaded'?

Dave Morris, 3Ci at Southern Company

NarayanShrawagi
Level 6
You can also try to switch to different browser and then try to spy ?
Narayan