During the implementation of automated testing (with HP UFT 12 or 12.01 and rarely also with 11.53), during debugging, after a few clicks on F10 or F11 (Step Over and Step Into) we find that UFT crashes systematically .
With the same mode of development (we use an our internal framework), we note also that using QTP 11 or UFT 11.52 we can work without these technical problems (the tool does not crash; or if it does, it happens very very rarely, almost non-existent case).
Could someone help us out?
Do you use record and playback or expert view?
We are having a similar issue. We do not use record and playback. So we have a pair of fairly large function libraries which HP believes is causing the problem. But as you said, it was not an issue prior to 12. As far as memory is concerned, we use 4 per box, but I did bump one box up to 8 gigs and experienced the same behavior.
If we come to some resolution, I will be certain to post here.
We did the same experiment, with same result. For all that concern the increasing of RAM.
We use an our "custom framework" with many libraries; we don't have this issue with prior version of UFT (the best for us is UFT 11.52).
actually we have to try UFT 12.02. I'll keep you informed.
We are on 12.02 now with the same behavior. We are also receiving an intermittent error dialog displaying, "Could not load run result." when opening run results. Do your run results appear correctly?
We recently installed UFT 12.02, and it crashes/freezes at very predictable parts of the code while stepping through with F10 or F11. In order to recreate the issue, you have to be watching variables or have the local variables tab visible during the debug session.
Has anyone else also experienced this? Find a solution?
OS: Windows 2008 R2
6 GB RAM
Here is the code to reproduce. The way it is shown below it actually will NOT freeze. It is accessing something from the C drive. Our K drive is a network drive. If you were to uncomment that line of code, it will freeze when stepping through. The only way to get out is kill the process in Task Manager. You must be watching variables or have the local variables tab showing for it to recreate. Does anyone have any information specific to access network drives that could cause UFT to freeze while stepping through debug and watching variables? This code worked fine with QTP 11.00.
Set folderObject = CreateObject("Scripting.FileSystemObject")
' Set objFolder = folderObject.GetFolder("K:\QA-TESTING\Bubble Files\")
Set objFolder = folderObject.GetFolder("C:\Program Files (x86)")
Set colSubFolders = objFolder.Subfolders
Windows 2008 R2
Has anybody opened a support case with HP on this issue?
(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
Behavior very similar, same steps / actions, if we execute our code. Tomorrow we will perform your code on our workstations.