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:
- Go To command prompt. [Start > Run > Type cmd]
- Change directory to C:\Program Files\HP\QuickTest Professional\bin using the command
cd C:\Program Files\HP\QuickTest Professional\bin - Type in nt_tr.exe –remove as shown in the image below.
- You will see a message box stating Text recognition has been uninstalled.
- Reboot machine. It should work without reboot as well but just in case.
- 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:
Thank You Ajay.
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:



17 comments ↓
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
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.
@Dev: No problem then. Do the above steps only if you face a crash.
@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.
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.
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.
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.
@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.
Thanks Arun for the tip.
@Mike : Could you try creating new profile?
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.
Charu,
Thanks for the Tip.
Regards,
Nagarajan.S.A
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.
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 ?
This didn’t solve my QTP problem. I am using the Application Object and on the 2nd time through it crashes consistently
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
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