QTP Recording - 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: QTP Recording (/Thread-QTP-Recording) |
QTP Recording - Bala Preetha33 - 05-03-2010 Hi all I have created a script as click a Booking link, then in the Booking link click confirm button. While I am running the script, QTP do oly to click a Booking link. Cant able to click confirm button in the Booking application.. the result says as Page loding failed, cant identify the object for confirm button.. can any one help me to slove this problem. Thanks in advance. Regards, Preetha. RE: QTP Recording - manabh - 05-03-2010 Hi, You should wait (ofcourse in code), after clicking the booking link untill the next screen/page is completely loaded. RE: QTP Recording - surekha.kadi - 05-03-2010 Add wait property in the code as : wait(2) The seconds depends the time taken by your application to load the page RE: QTP Recording - Bala Preetha33 - 05-04-2010 Hi I did using wait(), for first time if i run my script its working.... If i run again it fails to run giving the same error.... Regards, Preetha. RE: QTP Recording - surekha.kadi - 05-04-2010 You can check the load time and according to that you add the seconds in the wait function It will work ..... Or else you can use Browser("xyz").Page("xyz").Sync it will work RE: QTP Recording - basanth27 - 05-04-2010 Would you mind posting the code you have tried ? If you are using dictionary to create objects then you may need to use Object.RefreshObject to re-initalize it. |