Home Dashboard Directory Help

Unable to use MTM test data in Unit test ( not CodedUI ) desktop closed. by Kwisitive


 as Deferred Help for as Deferred

Sign in
to vote
Type: Bug
ID: 776365
Opened: 1/11/2013 12:17:18 PM
Access Restriction: Public
User(s) can reproduce this bug


I would like to use MTM data in my unit tests and the test to NOT use the CodedUI attribute on the class.

1. Make [TestClass] able to access MTM through TestContext or make CodedUI able to 'Ignore' the fact that Desktop is closed.

I do not use any feature of CodedUI that interacts with the desktop and have just come from a post session explaining this to a very help full person.

I just and only want access to MTM test data with desk top closed, no UI maps, no interaction with desk top.

Sign in to post a comment.
Posted by Microsoft on 3/11/2013 at 8:36 PM
Thanks for your suggestions! I clearly see the value in having MTM TestContext for unit tests - adding this to our product backlog. This will be addressed as per business priorities.

Vinay Krishna
Program Manager - Visual Studio ALM
Posted by Microsoft on 1/13/2013 at 10:23 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 1/11/2013 at 12:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Kwisitive on 1/11/2013 at 12:18 PM
None direct but...
1. Only way is to have desktop open, not ideal for the work I am doing.
2. Useother data source and loose the MTM logging of results.