Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Going To Sleep While Running Test
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
We've got a number of scripts that were originally created in QTP 8.2 that we recently updated to QTP 9.2 (basically just opening the 8.2 version using QTP 9.2 and saving a new copy with a slightly different name). Whether that's really what the issue is here, I can't say for sure, but it may be a factor in it.

These scripts may take from several minutes to several hours to run to completion, with the results normally being written to the Quality Center (which, incidently, still stands at version 8.2), but somewhere in the middle of some of the longer ones, they are intermittantly going to sleep. It's like QTP loses it's place and when we go back to check on the progress of the test, the script will be displayed, starting with line number one at the top of the screen, sometimes with the execution pointer at line number one, sometime with no pointer visible at all and "running" flashing in the status tray. Also, because of the state that it leaves the application being tested, we can tell that it never happens at the same spot in the script twice. It could doze off anywhere in the script randomly.

Any attempts to abort the script fail, no variables will display and any commands entered return an ambiguous "<Unexpected>" error message. The only course of action at that point is to end-task the process and start over again. Of course, the end-task keeps any results from being written also.

Anyone have this happening to them? Or does anyone have any ideas on how to resolve this issue?
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
I also have the same problem, the script will eventually freeze up at random points.

Did you ever find a solution for this?
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Consider upgrading to QC 9.0.

As such, there is no official support for TD QC 8.2 with QTP 9.2
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Running test with multiple browsers mvi63 0 2,817 06-25-2014, 06:49 PM
Last Post: mvi63
  how to handle errors while running test batch script sureshkumar 0 2,128 11-11-2011, 04:38 PM
Last Post: sureshkumar
  Running test in bach mode failing some code umer830 0 1,872 12-14-2009, 12:08 PM
Last Post: umer830
  QTP not running live to learn 1 2,174 11-18-2009, 10:41 AM
Last Post: Saket
  How to use sleep function srivania 2 11,367 08-14-2008, 05:07 PM
Last Post: Rekha

Forum Jump:


Users browsing this thread: 1 Guest(s)