.

In case your QTP crashes frequently… check this out…

A tip submitted by LearnQTP reader Ajay Mohan.

pal_drv.sys is the system driver that may be the culprit for your frequent QTP crash issues. This driver was developed for text recognition mechanism that QTP doesn’t support now. To solve the QTP crash problem, you need to uninstall this driver and here is how:

  1. Go To command prompt. [Start > Run > Type cmd]
  2. Change directory to C:\Program Files\HP\QuickTest Professional\bin using the command
    cd C:\Program Files\HP\QuickTest Professional\bin
  3. Type in nt_tr.exe –remove as shown in the image below. qtp-crash-solution
  4. You will see a message box stating Text recognition has been uninstalled.
  5. Reboot machine. It should work without reboot as well but just in case.
  6. Try opening QTP, it should no longer crash now.

Did this solve your QTP crash issue? Let us know in the comment section below.

 If you too want to share your QTP related tips, contact us.

Related:

  1. Visual C++ Run Time Error | QTP Crash
  2. If QTP hangs or freezes on new installation

Thank You Ajay.

Share and Enjoy
  • del.icio.us
  • Facebook
  • Twitter

If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.

Related posts:

  1. Part4: QTP and DotNetFactory – Creating Text Box, Check Box and Radio Button Control

17 comments ↓

#1 Dev Kumar Gupta on 12.07.09 at 10:10

Hi,

Ok ,but could you tell me for what QTP version has a problem.right now i am working on QTP 10.00 version.after instalation of cumulative patch, i does not face any problems (QTP 10.00).

Regard

#2 Mike Pietsch on 12.07.09 at 20:56

Could you elaborate on why this driver is a culprit for QTP crashes? I understand that the driver was developed for currently unused functionality, yet this does not explain how this driver is a culprit for crashing.

#3 Ankur on 12.08.09 at 00:55

@Dev: No problem then. Do the above steps only if you face a crash.

#4 Ankur on 12.08.09 at 00:58

@Mike: Acc. to Ajay, the uninstall of this driver solved his team members QTP crashing issues. I “ll try to get Ajay to answer your question on how he nailed this particular driver.

#5 Mike Pietsch on 12.08.09 at 01:41

That would be great. We all seem to have QTP crash from time to time and many know reregister, etc.. It would be excellent to actually start understanding WHY QTP crashes. Understanding how it was arrived at that it was this driver may very well be much more valuable than just knowing to remove the driver. Great find by the way.

#6 Mike Edwards on 12.08.09 at 21:46

I followed the instructions above only instead of uninstalling the exe the MsgBox came back saying that “Text recognition has been installed.” not UnInstalled.
Also the file was in the folder path (C:\Program Files\Mercury Interactive\QuickTest Professional\bin).
My QTP crashes way too often.

#7 Arun Prakash on 12.09.09 at 11:07

Hi ,

I tried above solution but no luck :( ,but I have another solution for QTP crash..I tried creating a new profile and its working fine(no need to uninstall QTP)..I think QTP 10 has a high dependency on profile.If profile gets corrupted ,it appeares like QTP has got crashed ..if we create a new profile it will work fine..Did this solve your QTP crash issue? Kindly let me know in this forum.

#8 Ankur on 12.09.09 at 18:48

@Mike: Yes for QTP 9.2 and below, file will be in that path. The path in the post above will be applicable for 9.5 and above. It looks like, for you the driver was not installed in the first place. If you repeat these steps you can see the required message. If this didn’t help you, try to repair the QTP installation and as a last resort, may be you can contact HP support or re-install OS on your system.

#9 Ankur on 12.09.09 at 18:49

Thanks Arun for the tip.

#10 Arun Prakash on 12.10.09 at 00:03

@Mike : Could you try creating new profile?

#11 Charu on 12.10.09 at 12:15

Hi Ajay / Ankur

I have a different problem with QTP. My QTP 10, hangs and then 99% of the Menu Items go missing. I mean, the main menu File or View would be there, but when I open the same, none or just few items are displayed.

To solve this, I go to the regedit and rename the existing Mercury folder (example; MercuryOLD). Next I open QTP againa nd all the menu items are back again.

Please guide me as to why this issue comes in the first place and is the solution I put inplace correct?

Thanks in advance.

#12 Nagarajan.S.A on 12.15.09 at 12:27

Charu,
Thanks for the Tip.
Regards,
Nagarajan.S.A

#13 Subrat on 12.20.09 at 19:06

The problem which I have been facing very frequently is on IE6 and QTP 9.2 wherein while running my script my IE crashes much too frequently and I get to receive a Microsoft IE Error(“Send” “Don’t Send”) Dialog box. I tried contacting HP but they were not able to resolve the issue and I need to do my testing on IE 6. Please help me out with some concrete solution if possible.

#14 Sunil on 12.29.09 at 18:27

I am running the test script through Test Batch runner. QTP crashes for few of script which are taking longer time for execution.

Can you please suggest to overcome this ?

#15 Kris on 01.04.10 at 21:14

This didn’t solve my QTP problem. I am using the Application Object and on the 2nd time through it crashes consistently :-(

#16 Yoshi on 01.14.10 at 08:38

I am encountering this issue during insertion of checkpoints. I haven’t tried your solution yet, since I don’t think this is caused by the text recognition. Can you please help?

Nevertheless, thanks for the advice :)

#17 Kevin on 01.15.10 at 22:59

I am having an issue with this driver during start up. paldrv is failing to start. This seems to affect running scripts from QC.
Any ideas?
Event log:
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7000
Date: 1/15/2010
Time: 12:07:37 PM
User: N/A
Computer:
Description:
The paldrv service failed to start due to the following error:
The system cannot find the file specified.

Leave a Comment