The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP

Pages: 1
mpal
Member


Reged: 05/24/07
Posts: 25
Just-In-Time Debugging errors on upgrade to QTP11
      #647902 - 11/05/10 06:53 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
mpal
Member


Reged: 05/24/07
Posts: 25
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: mpal]
      #655428 - 01/10/11 06:15 AM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Rajkumar_RajangamModerator
Veteran


Reged: 10/22/10
Posts: 3136
Loc: Norway
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: mpal]
      #655432 - 01/10/11 06:40 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
mpal
Member


Reged: 05/24/07
Posts: 25
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: Rajkumar_Rajangam]
      #655498 - 01/10/11 11:16 AM

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)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Rajkumar_RajangamModerator
Veteran


Reged: 10/22/10
Posts: 3136
Loc: Norway
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: mpal]
      #655499 - 01/10/11 11:31 AM

You can get it here.

--------------------
Rajkumar


Post Extras: Print Post   Remind Me!   Notify Moderator  
mpal
Member


Reged: 05/24/07
Posts: 25
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: Rajkumar_Rajangam]
      #655511 - 01/10/11 12:55 PM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Rajkumar_RajangamModerator
Veteran


Reged: 10/22/10
Posts: 3136
Loc: Norway
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: mpal]
      #655551 - 01/11/11 12:35 AM

Mridula,

You need the debugger to debug your scripts. There are no known issues with the debugger.


Post Extras: Print Post   Remind Me!   Notify Moderator  
mpal
Member


Reged: 05/24/07
Posts: 25
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: Rajkumar_Rajangam]
      #655609 - 01/11/11 06:59 AM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
mpal
Member


Reged: 05/24/07
Posts: 25
Re: Just-In-Time Debugging errors on upgrade to QTP11 [Re: mpal]
      #655846 - 01/12/11 10:12 AM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 58 anonymous users are browsing this forum.

Moderator:  IanFraser, Rajkumar_Rajangam, thorwath, TReddy, AJ, Tarun Lalwani, mwsrosso 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3292

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5