This is a migrated thread and some comments may be shown as answers.

Test View error after adding WebAiiTest1.aii

4 Answers 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Travis Acton
Top achievements
Rank 1
Travis Acton asked on 03 Jun 2010, 09:37 PM
Details:
Visual Studio 2010 Version 10.0.30319.1 RTMRel
WebAii 2010.1

When creating a new test project that just includes unit test, everything functions as expected

When adding a WebAiiTest to the project and attempting to navigate to my Test View, I get the below error.

I can still run all my test fine by kicking off the test from "Run Selection" on the test view toolbar or the quick launch but can no longer run targeted combinations of test.

Any help would be highly appreciated.

Error displayed in Test View Window:
Exception details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: There is already a command handler for the menu command 'b85579aa-8be0-4c4f-a850-90902b317571 : 13074'.
   at System.ComponentModel.Design.MenuCommandService.AddCommand(MenuCommand command)
   at Microsoft.VisualStudio.TestTools.Vsip.CommandHelper.AddCommand(IMenuCommandService menuService, EventHandler invokeHandler, EventHandler statusHandler, CommandID id)
   at Microsoft.VisualStudio.TestTools.TestCaseManagement.TestViewToolWindow.Initialize()
   at Microsoft.VisualStudio.TestTools.TestCaseManagement.TestViewToolWindowHost..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

4 Answers, 1 is accepted

Sort by
0
Missing User
answered on 04 Jun 2010, 04:14 PM
Hi Travis,

Thanks for your trial of WebUI Test Studio Dev Edition and I'm sorry you ran into this problem. So what happens when you try to open the WebAii test you add to the project? Does the WebAii test open showing XML code?

And I'll assume that WebUI did not work at all, but please let us know if it did work at any point. Please also see the attached screenshots of the WebUI Windows that should be added to Visual Studio when a WebAii test is added.

Let us know if any of the windows are showing up, the WebUI toolbar should also be accessible via the menus View -> Toolbars -> WebUI Test Studio.

If no Windows are showing up and the WebAii test opens as XML code, please let us know if:
 
- You installed WebUI with a user account that is part of the Admin Group for the machine.
- Any previous version of WebUI was already installed or had been installed on this machine
- If Visual Studio 2008 or a previous version of VS is also installed on the machine
- What version of Windows you are using

Based on the information you provide, I can try to reproduce the problem on this end.

Quick Edit: Sorry, re-attached a better screenshot of the WebUI Windows with highlights

Regards,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Missing User
answered on 07 Jun 2010, 11:07 PM
Hi again Travis,

Just wanted to check back to see if you were able to resolve this or if you are still having this problem. Please let us know if you are and reply back with as much information as possible for us to repro this and see what might be happening.

Kind regards,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Travis Acton
Top achievements
Rank 1
answered on 10 Jun 2010, 04:44 PM
Thank you for the quick replies, I have done quite a bit more unit test around VS2010 and found that it is not a telerik specific issue.
0
Missing User
answered on 10 Jun 2010, 09:01 PM
Hi again Travis,

Thanks for the reply back. Please let us know if you would need any further assistance in getting WebUI up and running on your system.

If so, please respond back with as much information as possible based on my 6/4/2010 post and any further information you believe maybe relevant.

Sincerely,
Nelson
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Travis Acton
Top achievements
Rank 1
Answers by
Missing User
Travis Acton
Top achievements
Rank 1
Share this question
or