Extreme PC slowdown when debugging a UFT action with TestAdvantage
New DiscussionHi guys,
As you are aware from my previous forum post (http://www.infragistics.com/community/forums/t/105524.aspx) I recently resolved the issue between UFT & TestAdvantage and have been able to successfully record the IG controls in our application as intended. I’m experiencing extreme PC slowdown when debugging these however and am wondering if there’s a cure to this or, if not, maybe you have some tips about what I could do differently to minimize the affects of this.
I’ve uploaded a new video to YouTube so you can see what I’m experiencing:
http://www.youtube.com/watch?v=NSLKY8F1Z9s
I started to draft an email to HPE but before sending it decided to try on a different PC to see if the behavior was the same. Last week, when attempting to resolve my aforementioned issues, I’d installed UFT on an older desktop along with TestAdvantage. After playing around with this I deactivated TestAdvantage so I could reactivate on my main PC. Consequently when I recreated my Action using the recorder on this older desktop the script contained the generic instructions rather than being IG specific but debugging was considerably quicker than on my own PC. This leads me to think the issue might be with TestAdvantage rather than UFT.
So back to my main PC which is shown in the YouTube video. I right-click the first line of code in the Action and select “Debug from Step…”. After clicking “Run” in the next dialog is where everything starts to go very slowly. Pressing F10 to jump to the next line takes a long time and attempting to highlight a code statement in order to add a Watch is extremely slow. At about 2 minutes into the video I bring my Task Manager into view and it doesn’t really show anything excessive. The SnagIt process is the biggest and that’s my screen recorder, but overall CPU & memory consumption isn’t stretched. And the hard disk light blinks every second or so meaning there isn’t a bunch of activity there either. My laptop (Dell Latitude E5540) is 1 or 2 years old with an i7-4600U CPU @ 2.10GHz 2.70 GHz with 16GB of RAM and running Win7-64. Every application running on my PC is impacted at this time so swapping between the UFT window and a browser or email for example takes a very long time. Stopping the debugger takes a long time but once stopped everything runs at normal speed again. My Record | Record and Run Settings option was set to “Record and run test on any open Windows-based application” so I changed this to point to the specific application being debugged but that didn’t make a difference.
Do you have any advice on what might be going on and what I could change to improve the performance?
Thank you in advance,
Jason.