Application freezes - 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: Application freezes (/Thread-Application-freezes) |
Application freezes - neerukonda - 04-14-2009 Friends During the data driven test using QTP9.5 , after the 3rd iteration the application(dot net) freezes and needs manual interaction to cancel the process through task manager. Attached is the data file. Any help is appreciated. RE: Application freezes - Ankur - 04-15-2009 Make sure you are closing all instances of objects created during run time... I don't see any attached file. RE: Application freezes - neerukonda - 04-15-2009 ------------------- Hi Ankur Thank you for the reply. In my code at any point I have not used the "CreateObject" statement. All I am using the "Set" statement as below to create a RO object as my application is full of third party control for which QTP does not have support. Code: Set var = description.Create The above code is to create the application main window during the runtime. As per your advise do I need to add Set var = nothing at the end of the code. Response is much appreciated. maruti RE: Application freezes - Ankur - 04-15-2009 hmmm... Somewhere in your script there is memory leakage happening which is causing this behavior.... See if you are interacting with external excels, csvs etc. and check whether you are closing them properly. Secondly try to check in task manager which process is consuming high memory, also check if there is a duplication for any process. |