Micro Focus QTP (UFT) Forums
recovery scenario help - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: recovery scenario help (/Thread-recovery-scenario-help)



recovery scenario help - qtpuser - 01-23-2012

Hi: I am trying to write a Recovery scenario for the below situation. I have a single starter script being executed for multiple client web sites. The project has 3 actions for every client. The first action is login. For few clients the wait time for the login page to load is very long. The default setting in qtp for my web wait time is 50000milli seconds. But for many of the clients, it is more than this 50000 Milli seconds. Is there a way I write a recovery scenario to wait till the page loads on error?

Thanks


RE: recovery scenario help - basanth27 - 01-29-2012

What are you trying to recover? A wait command should do the trick if you really want to wait for that long without doing any other action. if you are planning to do different action during that time period then you should use a loop and perform wait within it.