Application under test crashes whenever GUI Spy is pointed to an object
We are testing windows applicaiton. Whenever I point UFT GUI Spy to an object of AUT, the application crashes - a message box displays: "<app name> encountered a problem and needs to close. We are sorry for the inconveniene...".
I am using UFT 11.53 Build 0559. The Add-ins loaded are: Visual Basic, ActiveX, and Web. The operating system is Windows 7 Enterprise edition (version: 6.1.7601 SP1 Build 7601, system type: x64-based PC).
The same AUT does not crash when using Object Spy of QTP11.00.
Any idea what could cause the app. crash when testing with UFT11.53?
Your help is highly appreciated.
What is your AUT, VB?
when things gets harder ,the harder gets going
seems like you have not installed the latest patch for UFT 11.53. Patch 3 should get you to Build 0688.
I ran into the same issue that you are having since the IT Team did not warn me that they took away my local admin rights to my PC. So when I installed UFT 11.53 and its patches, I did not have the local Admin rights. Once I got the local Admin rights back and re-installed UFT 11.53 plus all its patches, the issue went away.
Thank you Mark, Chikki, and Gilbert.
Mark, the following is the information provided by development team:
Application Under Test is written on C++,
is built with Microsoft Visual Studio 2005 runtime,
uses MFC libraries.
UAT also uses various Windows API (WinHTTP, SharedMemory, OpenMP for optimizer).
Gilbert, I have installed UFT 11.53 Patch 3 (Build 0688). Even now I am having same issue.
Chikki, stingray add-in installation/loading also did not help.
UFT 11.53 Build 0688 is running fine on at least 2 machines that we have.
Did you do a clean uninstall of the previous version of QTP/UFT on your machine before installing 11.53? (I assume you have local Admin rights)
A couple of things you may want to try, in case you don't feel like uninstalling and re-installing UFT 11.53:
1. Run setup.exe and do the Repair option.
2. Try UFT 12.01 (this version seems to be working better, at least for me)
Note: If you plan to do a re-install, make sure you turn off UAC and restart your system.
Last edited by Gilbert; 11-12-2014 at 07:56 AM.
Reason: added more info
Thank you Gilbert. I have local Admin rights. As you said I installed UFT 11.53 Build 0688. Then I had an issue in recognizing some SOR objects which were working earlier. So I reinstalled UFT 11.53 Build 0559 version after clean uninstall. Now I am getting message ("HP Unified Functional Testing has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.") when I try to open a script which was working earlier. Please help.
Even after installing UFT 11.53 Build 0688, came across the issue. Developers looked at the issue. It was*AUT problem. Developers fixed it by adding some extra-handlers in the code.* Thank you all.
It's a bit frightening to know that the AUT can cause UFT to crash.