Web tests recording is disabled.
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.
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
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"
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
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.
Sten,
Is IE by any chance taking a very long (longer than around 15-20 seconds) to start?
Josh
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.
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
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
Problem solved ! I reinstalled the machine with Windows Server 2003 and VS2005 RC.
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
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
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
Hi,
can you let me know if there was a resolution to this? I'm also having this problem.
Darren
Mark,
You aren't running VS with RunAs, are you?
Josh