QTP hangs when we are running nightly batches.
When we find QTP in that state, it displays 'Running' in the lower right hand corner of the QTP window. All the menus, settings, tools>options screen open in read only mode.
If we click on STOP button nothing happens. If we click on menu File>Exit nothing happens. We need to kill QTPPro.exe from task manager to get rid of QTP hanging problem and reschedule the automation run.
Windows task manager indicate QTPPro.exe running when QTP hangs. CPU and memory usage is also found to be normal. No spikes.
This problems happens to any QTP Script in the batch, there is no pattern emerging out. (If the same script was failing it would have been simpler).
We have around 300 scripts running in a batch scheduled for nightly run.
There are also times when batches have successfully run end to end. But probability of failure is high. Almost 1-2 times a week.
We are using QTP9.5
Kindly provide your valuable help how we can get rid of this problem...
Has anyone found a resolution for this problem as I am experiencing the exact same issues. My thoughts are that the Quality Centre timeout options has killed the connection and QTP cannot then upload the results, hence QTP shows as Running. If this is the case, possible resolution is to disable the Quality Center timeout option, or write a function that on every iteration of the script it queries QC, therefore keeping the connection alive?
I am facing the exactly same issue, even when I dont have QC installed on my machine. My script are of only 30 min durations. and once every ~10 runs QTP goes in non-responding mode. No other option except to kill it from Task Manager.