none
VS2012 Test case exception RRS feed

  • Question

  • If I try to create a new testcase with Visual Studio or Test Manager (VS2012 Ultimate RTM) the steps window shows: Exception has been thrown by the target of an invocation.

    Same exception if I open an existing testcase created with MTM 2010.

    I've uninstalled VS2012 and installed it again, but still the same exception.

    How can I fix this?



    Tuesday, September 11, 2012 9:21 AM

Answers

All replies

  • Hi Frank,

    Thanks for your post.

    I have to clarify some more details here:

    1. Have you meet any error when installing Visual Studio?

    2. Could you please share your steps here about how you created your testcase?

    3. What's your OS version?

    Here are some steps may help:

    1. Make sure all your Windows Updates have been installed

    2. Remove all extensions from Visual Studio.

    3. Disable third party software when running Visual Studio

    4. Use devenv /log to log details by referring to this page: http://msdn.microsoft.com/en-us/library/ms241272(v=vs.110).aspx . Then upload Activity.xml log to SkyDrive and share it to me

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, September 12, 2012 6:24 AM
  • Hi Barry,

    Thanks for replying.

    1. No errors when installing VS2012. (Before I had installed VS2012 RC and VS2012 beta).

    2. Open Visual Studio - connect to a team project - new workitem - new testcase

    3. Windows 7 64-bit

    Acticvity.xml shared to msdnmg@microsoft.com

    Kind regards,

    Frank

    Wednesday, September 12, 2012 2:33 PM
  • Hi Frank,

    Thank you for the response information.

    Hope you can provide following information to help narrow down the issue:
    1. Do other member experience the same issue when use VS 2012 and MTM 2012 connect with same team project?
    2. In VS 2012 and MTM 2012, connect with other team project, can you create test case successfully?
    3. In VS 2010 and MTM 2010, connect with same team project, can you create test case successfully?
    4. In VS 2012, can you create other kind work item?
    5. Is there any detail windows log relate to this issue?

    Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, September 13, 2012 9:11 AM
    Moderator
  • Hi Lily,

    1. Other team members don't have the same issue.

    2. I've the same issue with all the team projects.

    3. No problem when I use VS 2010 or MTM 2010 to create a test case.

    4. I can create other work items in VS 2012. I can create a test case as well, but after that the steps window shows the exception.

    5. Nothing related in the event log.

    I'll send you a screenshot of the issue.

    Kind regards, Frank

    Friday, September 14, 2012 6:56 AM
  • Any more information?

    Try to repair VS 2012.

    Friday, September 14, 2012 9:05 AM
  • Hi Frank,

    What's the version of your VS 2012, Beta, RC, or RTM? Please try to use the most latest version-VS 2012 RTM.

    Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

    Friday, September 14, 2012 9:28 AM
    Moderator
  • Hi Lily,

    The I use the RTM version, but I have used the beta and RC before on the same PC. I think this is the reason of the issue. I've uninstalled and reinstalled the RTM version but the issue remains.

    Kind regards,

    Frank



    Friday, September 14, 2012 9:59 AM
  • Hi Frank,

    Thank you for the response.

    For this scenario, I suggest you submit this issue to Microsoft Connect site http://connect.microsoft.com/. Microsoft engineers will evaluate them seriously.

    Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

    Monday, September 17, 2012 2:04 AM
    Moderator