Ask a questionAsk a question
 

AnswerWeb tests recording is disabled.

  • Wednesday, September 21, 2005 1:48 PMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    VS2005TS RTM.

    When I start a new webtest VS automatically launches IE and I have to activate IE windows myself. The recorder buttons are all disabled (grayed) and surfing around does not result in anything in the project.

    If I close IE, VS still report "Recording in progress" and I have to click "Stop recording" but nothing reports to the project.

    Beta1 did work but I had the same problem with CTP August.

Answers

  • Tuesday, November 22, 2005 12:16 PMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I may have found a work around or an indicator of why it's happening.

    If you reset your IE settings to default/repair the install it fixes the problem.  I don't have any further details as I didn't do this (someone else was trying to fix something on the server and this was a by product).

    This would indicate that the problem lies with ie itself.

  • Wednesday, June 21, 2006 12:50 PMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I believe I found the answer (only 6 months later!).  For some reason my internet explorer was not being created in it's own process.  Setting this in the registry seems to have fixed it...

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess]
    "BrowseNewProcess"="yes"

  • Wednesday, June 21, 2006 1:05 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    That's a great tip, thanks for posting it.  A hotfix is close to being released that should fix this issue once and for all.  The fix will be in VS 2005 SP1 (fall), also.

    Josh

All Replies

  • Wednesday, September 21, 2005 5:01 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sten,
    My guess is that you have two versions of the recorder installed or at least registered on your system.  Can you open regedit and go to the following key:
    HKEY_CLASSES_ROOT\CLSID\{8C84B9F5-3D9E-4204-BB0B-F85D46455868}

    Under that key there should be a folder called InProcServer32 that has only one child folder called 8.0.0.0.  If there is another folder under there (probably called something like 8.0.0.1200), please delete that and reboot.

    Let me know if this works or doesn't.

    Josh
  • Thursday, September 22, 2005 6:15 AMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Sorry Josh, but I have only the key 8.0.0.0 under InProcServer32 so there is nothing to delete.

    [HKEY_CLASSES_ROOT\CLSID\{8C84B9F5-3D9E-4204-BB0B-F85D46455868}\InprocServer32]
    @="mscoree.dll"
    "ThreadingModel"="Both"
    "Class"="Microsoft.VisualStudio.TestTools.WebTest.RecorderBarControl"
    "Assembly"="Microsoft.VisualStudio.QualityTools.RecorderBar, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

    [HKEY_CLASSES_ROOT\CLSID\{8C84B9F5-3D9E-4204-BB0B-F85D46455868}\InprocServer32\8.0.0.0]
    "Class"="Microsoft.VisualStudio.TestTools.WebTest.RecorderBarControl"
    "Assembly"="Microsoft.VisualStudio.QualityTools.RecorderBar, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

     

  • Friday, September 23, 2005 1:39 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sten,
    What did you mean in your first mail when you said you had to activate IE windows yourself?  You must be using the IE window that opens automatically for the recorder to work.

    Josh
  • Monday, September 26, 2005 11:22 AMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes I do use the IE window that opens automatically but it never gets focus so I have to manually click on it to get focus.
  • Friday, September 30, 2005 3:14 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sten,
    Is IE by any chance taking a very long (longer than around 15-20 seconds) to start?

    Josh
  • Tuesday, October 04, 2005 10:25 AMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    No, IE starts after I confirm the name of the project but the Add New Test dialog has focus and the IE windows is in the background until I click it and does not record any actions into the project.
  • Tuesday, October 04, 2005 3:07 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Are you launching VS using RunAs or anything like that?  What OS are you running?  Are you getting the message that says something like "The recorder must be launched from Visual Studio"?

    Josh
  • Wednesday, October 05, 2005 6:29 AMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I launch VS from the menulink.
    OS is 2003 Server SP1.
    In VS I select the menu item Test/New Test and select WebTest in the dialog.
    Then I accept the default testname, e.g. TestProject12.
    Then the dialog "New Test" has the focus and IE blinks blue in the taskbar but never gets focus.
    When I switch to the IE window the "Web Test Recorder" plugin is disabled with the text "The Web Test Recorder must be launched from within Visual Studio" in the area below the disabled buttons.

    Hope this gives a clue to the solution.

    Sten
  • Tuesday, October 11, 2005 7:58 AMSten Palmqvist Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Problem solved ! I reinstalled the machine with Windows Server 2003 and VS2005 RC.
  • Saturday, October 29, 2005 9:16 AMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am having the same issue with the RTM version.  I have checked the HKEY_CLASSES_ROOT\CLSID\{8C84B9F5-3D9E-4204-BB0B-F85D46455868} registry key and there are not two entries.  I have also tried removing the test components (using the installer) and then adding them back.  Even though the HKEY_CLASSES_ROOT\CLSID\{8C84B9F5-3D9E-4204-BB0B-F85D46455868} key was removed, when I added the test tools back the problem continued.  Any other ideas?  Reinstalling the operating system as mentioned earlier is not an option.

    This box was upgraded from Beta 2 but I followed the uninstall instructions carefully to make sure nothing was left around.

    Thanks,
    Mark
  • Monday, October 31, 2005 8:52 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Mark,
    I have another idea of what could be wrong.  Could you try opening up the GAC in in Windows Explorer (mine is at C:\WINDOWS\assembly) and first making sure that there's only one copy of Microsoft.VisualStudio.QualityTools.RecorderBar?  Assuming there's just one copy, right-click it, select Properties, click the Version tab, and tell me what File Version is listed at the top of that tab.  I'm wondering if setup didn't overwrite the Beta2 version of the RecorderBar in the GAC.

    Thanks and sorry for the inconvenience,
    Josh
  • Monday, October 31, 2005 10:12 PMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Josh,

    Thanks for helping with investigating this Josh.

    There is only one assembly and it is the magic version 8.0.50727.42.  So I don't think that is the problem. 

    Mark
  • Thursday, November 03, 2005 3:39 PMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    can you let me know if there was a resolution to this?  I'm also having this problem.

    Darren
  • Thursday, November 03, 2005 3:47 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Mark,
    You aren't running VS with RunAs, are you?

    Josh
  • Thursday, November 03, 2005 4:05 PMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Josh and Darren,

    Unfortunately, this is not resolved yet and no, I am not using runas.  VS is running under the administrator account that logged into the machine.

    Mark
  • Friday, November 04, 2005 8:30 AMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Same here, I'm running with a remote console though.
  • Thursday, November 10, 2005 4:50 PMDenverQA Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm having exactly the same problem with the web test recorder.

    Running WinXP pro SP2
    I did have the IE7 BETA installed when I did my Vstudio 2k5 installation. Thinking that was the problem, I uninstalled that, and then re-installed Vstudio Team test.. I've never had a team test Beta on this machine. I also cannot reinstall my OS.
    I am also running VStudio .Net 2003 on the same machine.

    Team Test is launching a new IE window when I start a recording session, but that seems to be the extent of the interaction between the browser and Vstudio, nothing is being "recorded".

    I've used the Mercury interactive tools for years, but since we are a msft shop, and team test is now here, I didn't really have a choice but to buy it. hopefully this issue will be resolved at some point before I actually have to do something productive with the tool.

    thanks all.
    Mark

  • Thursday, November 10, 2005 5:32 PMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi DenverQA,

    I appreciate that you have captured so many variables because it helps eliminate possible causes.  Here's a summary based on comparison with my environment:

    • It is not due to a previous beta install of VS. (DenverQA didn't have VS Beta installed)
    • It is not due to IE7 (Mark Michaelis didn't have IE7 installed)
    • VS 2003 is not the cause (Mark Michaelis didn't have VS 2003)

    Here's a commonality (although not particularly helpful):

    • Windows XP SP2

    MS, what is the next step to diagnosing this?

    Thanks,
    Mark

  • Friday, November 11, 2005 3:54 PMDenverQA Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm going to log a trouble ticket with msft this morning. Yesterday I rolled back the SP2 portion of XP, reinstalled IE 6 again, then the SP2, and did a complete uninstall / reinstall of Visual Studio... Almost chucked my pc out the window when that still didn't fix it. It's friday, good a day as any to rebuild the box from the ground up. If I end up getting this issue resolved before I go that route, I'll be sure to post what msft advised me to do.

    Regards,
    Mark H.
  • Monday, November 14, 2005 6:33 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Would it be possible for anyone having this issue to make their machine available for me to remote desktop into?  We have so far been unable to reproduce this problem, so it would be a great help to get access to a machine with the problem.  You can email me the info if you remember my alias is joshch and my domain is microsoft.com.

    Thanks,
    Josh
  • Monday, November 14, 2005 7:53 PMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Josh,

    I emailed my contact info to joshch <a> ms.com.  Alternatively, you can contact me via mark <a> michaelis.net.  I have a second issue I would like to demonstrate as well.  It relates to web recording working in Beta 2 but no longer in RTM.

    Thanks,
    Mark

  • Sunday, November 20, 2005 9:56 PMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    STATUS UPDATE - 11/20/05

    Josh and I worked over the phone for several hours on this last week.  I was able to reproduce the issue but as of yet we were not able to come to a resolution.  I will keep folks informed as additional insights become available.

    One correction on an earlier post is that VS 2005 Beta 2 so far appears to be a common across all occurrences that people have mentioned.

    Mark

  • Tuesday, November 22, 2005 12:16 PMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I may have found a work around or an indicator of why it's happening.

    If you reset your IE settings to default/repair the install it fixes the problem.  I don't have any further details as I didn't do this (someone else was trying to fix something on the server and this was a by product).

    This would indicate that the problem lies with ie itself.

  • Tuesday, November 22, 2005 9:04 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Darren,
    Did your machine also previously have Beta 2 installed on it?  Perhaps some obscure Beta 2 setting is the culprit for this bug.

    Josh
  • Tuesday, February 21, 2006 1:42 AMPJ Felicita Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Do you have LoadRunner installed in your system?
  • Tuesday, February 21, 2006 3:55 AMMark MichaelisMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Nope... I did not have LoadRunner installed.  At this point I have re-installed the box and the problem has gone away.  Although we never proved anything, I strongly believe the problem was due to an upgrade from Beta.

    Mark

  • Wednesday, June 21, 2006 12:50 PMDarren Blackett Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I believe I found the answer (only 6 months later!).  For some reason my internet explorer was not being created in it's own process.  Setting this in the registry seems to have fixed it...

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess]
    "BrowseNewProcess"="yes"

  • Wednesday, June 21, 2006 1:05 PMJosh Christie MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    That's a great tip, thanks for posting it.  A hotfix is close to being released that should fix this issue once and for all.  The fix will be in VS 2005 SP1 (fall), also.

    Josh

  • Friday, September 08, 2006 1:41 PMEugen T Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Great job!
  • Friday, February 23, 2007 12:34 PMDeitalandDeital Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Darren

    I have found your solution simply Superb. we were facing the same problem in our Quality Assurance Dept. By following these steps i have solved their problem, Problem Gone.

    Thanks Alot

  • Thursday, May 03, 2007 11:36 AMKarenCV Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, I also got the same problem, however, there's no BrowseNewProcess folder under [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\.  I have an IE 6 version and VS2005 installed in my PC.  Is there anything else you think I forgot to do?  Thanks in advance...
  • Tuesday, August 21, 2007 8:04 PMMr_Threepwood Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Darren Blackett, thank you so much that fix worked.  I really can't believe how complicated it was trying to find the fix for this, took me about 3 hours (better than 6 months I guess).  I even installed SP1 and everything but that did not work.
  • Thursday, December 06, 2007 3:51 AMAnup Marwadi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have VS2008 Team edition on my Vista Ultimate 64bit edition (which I really think is a joke). The web tests don't seem to work on that. I still get IE7 with a blank page with no recording options or anything. I tried looking for the BrowseNewFolders key but could not find it. I added a new one and tried to add the settings but that didn't work either.

     

    So far the VPN's don't work on Vista 64 bit, the Team Test doesn't work, the GAT/GAX extensions don't work on 64 bit Vista....it really feels like I'm struggling with just get anything right on it.

     

    Has anyone faced similar issues? If yes, do we know if Microsoft is doing anything about it?

     

    Thank You

    Anup Marwadi