Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Application freezes
#1
Solved: 11 Years, 4 Months ago
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.
Reply
#2
Solved: 11 Years, 4 Months ago
Make sure you are closing all instances of objects created during run time...

I don't see any attached file.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 4 Months ago
-------------------

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
   var("Name").value = "FrmMain"

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
Reply
#4
Solved: 11 Years, 4 Months ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP run results freezes and closes dondemon 0 2,437 03-22-2012, 05:18 PM
Last Post: dondemon
  Navigate and Learn Freezes up consumed85 0 2,542 11-08-2011, 12:25 AM
Last Post: consumed85

Forum Jump:


Users browsing this thread: 1 Guest(s)