Micro Focus QTP (UFT) Forums
Recorded script doen't play after restarting the application in qtp - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Recorded script doen't play after restarting the application in qtp (/Thread-Recorded-script-doen-t-play-after-restarting-the-application-in-qtp)



Recorded script doen't play after restarting the application in qtp - ashima - 12-26-2013

Hello,

I have to work on an application that stops responding after certain time. So I need to restart it. Now my problem is that I am using QTP, in which script once recorded doesnt play, everytime I restart the application. Can you please help me, so that I do not need to record the test again and again.


RE: Recorded script doen't play after restarting the application in qtp - basanth27 - 12-26-2013

Create a function with the recorded script and call it as many times as you may want or you could also put it into a loop.