Can’t properly debug tests in UFT12
Question ID: 105491
1
0

In UFT12, I’m getting crashes and errors when trying to debug my tests. Is there something I can do to make debugging a more stable experience?

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on July 10, 2014 8:12 pm
65 views
Answers (1)
1
Private answer

UFT requires a version of the pdm.dll file installed with the Microsoft Script Debugger to be version 9 or higher. The version of the pdm.dll file installed with the Microsoft Script Debugger (which is part of UFT's Additional Installation Requirements) is obsolete and can cause problems when you try to debug GUI tests. If you want to debug GUI tests in UFT, make sure that you have a newer version of this file installed and registered. Give these steps a try:

The pdm.dll file is installed and registered with Microsoft Visual Studio and Microsoft Office. It is also installed, but not registered, with Microsoft Internet Explorer (version 8 and above).

If the currently registered version of the pdm.dll file is lower than 9, then uninstall the Microsoft Script Debugger (if installed) and repair the installation of the last of these products to be installed. (Check registry for pdm.dll version: `HKEY_CLASSES_ROOTCLSID{78A51822-51F4-11D0-8F20-00805F2CD064}InprocServer32`)

If you need to use the pdm.dll file installed with Microsoft Internet Explorer, make sure you have administrator privileges and do the following:

- Locate the pdm.dll file.

This file is usually located in

c:program files(x86)internet explorer

or

c:program filesinternet explorer

- Move the pdm.dll file and the
msdbg2.dll file from the same folder
to a different location (registering
them from the original location
behaves differently).

- Run the following commands:

regsvr32 pdm.dll

regsvr32 msdbg2.dll

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on July 10, 2014 8:12 pm
0
Ok, I got my pdm.dll file and everything seems to be working now. Thanks!
( at July 10, 2014 8:13 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top