mpal
Member
Reged: 05/24/07
Posts: 25
|
|
We recently upgraded to QTP 11. When we try to record on one of our applications, any action on most of the controls pops up the JIT(Just-In-Time) debugger. I can click No on the error and continue recording, but it is taking a long time to record even simple actions on the page. Playing back without any problems(no popups). We have QTP 10 still on one of our machines and that is not having this problem. Has any one else see this before? I googled and found a couple of suggestions, like unchecking the script debugging, browser extensions and JIT checkboxes in the Internet Options, but that did not help. I saw some suggestions for Registry hacks, but before trying those, I wanted to see if there is anything else I can try. The Error is Just-In-Time Debugging An exception 'Runtime Error' has occured in Script Possible Debuggers New Instance of Microsoft Script Debugger New Instance of Microsoft Script Editor (checkbox)Set the currently selected debugger as the default Do you want to debug using the selected debugger? (buttons) Yes No
|
mpal
Member
Reged: 05/24/07
Posts: 25
|
|
The HP support team is trying to help, but to no avail so far. We installed QTP11 on another machine and that seems to work fine. The JIT error is happening on the two personal machines that we use the most, where we do the actual development. They already had QTP 10, which worked fine and then when we upgraded to QTP 11, we started getting the JIT errors. It seems to have something to do with the Debugger that is installed during QTP 11 upgrade. Do we need to have some other Debugger installed already on our machines? Let me know if anyone else had seen these errors and have a workaround.
|
Rajkumar_Rajangam
Veteran
Reged: 10/22/10
Posts: 3136
Loc: Norway
|
|
Did you install any other tool on the same machine?
I had the same error after I installation of HP Service Test. I did a Repair Install of QTP and I also removed the existing MS Debugger & and reinstalled it.
It started to work normally again. You could try that.
|
mpal
Member
Reged: 05/24/07
Posts: 25
|
|
thanks, i will try the repair option. I see that I can remove the MS Debugger from the Add/Remove Programs, but where do I get the new install for MS Debugger?
Edited by mpal (01/10/11 11:22 AM)
|
Rajkumar_Rajangam
Veteran
Reged: 10/22/10
Posts: 3136
Loc: Norway
|
|
You can get it here.
-------------------- Rajkumar
|
mpal
Member
Reged: 05/24/07
Posts: 25
|
|
I tried the repair option, but that did not help. So I thought I will remove Debugger and wait to see where I can get the new install. After removing it, I tried to record and I was able to without getting the JIT errors. I just removed MS Debugger and that got rid of the JIT errors. Looks like having MS Debugger along with MS Script Editor was the cause of the problems. Removing one of the Debug tools got rid of the problem. Looks like QTP 11 upgrade automatiocally installs the MS Debugger causing this issue.
|
Rajkumar_Rajangam
Veteran
Reged: 10/22/10
Posts: 3136
Loc: Norway
|
|
Mridula,
You need the debugger to debug your scripts. There are no known issues with the debugger.
|
mpal
Member
Reged: 05/24/07
Posts: 25
|
|
I just see that as I am trying to playback the scripts and cannot use the options with debugging. I will try to install it and see how it goes. thanks.
|
mpal
Member
Reged: 05/24/07
Posts: 25
|
|
Just the reinstall of the MS Script Debugger did not help. I had to make one more change. I had to change the value in the Registry from 1 to 0 for HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug. This registry change got rid of the JIT pop ups and since I had MS Script Debugger, I was able to use the debug features of QTP. So far I have not seen any other problems having changed the registry entry.
|