How to associate an assembly with a test plan in Microsoft Test Manager (MTM) 2010?

I am using Microsoft Test tools, please help:

When I try to run a test case from MTM, I get the following warning message:

Unable to create automatic test run. An automated test run requires an assembly associated with an active test plan.

Background Information:

  • I created an assembly definition in VS 2010
  • I created a build service node with agents: controller and agent
  • When I open MTM> Test Center> Assembly build configurations, I can see the assembly definition selected in the "Filter for assembly:" section

Problem: In MTM> Test Center> Build Configuration Properties> " String in use:" is set to No , when I open the Assign Build section, I do not have the build build

+4
source share
2 answers

Just like a pointer, if someone finds this (unanswered) post:

β€œTo get automated tests that work with Microsoft Test Manager, you need to associate the assembly with the automation component with a test plan. That tells MTM where to find the code for automatic tests. Then you also need a test environment in which MTM will interact and run the tests.

The following article describes how to set up a test plan to run automated tests: http://msdn.microsoft.com/en-us/library/dd553270.aspx "

from this post in msdn.

+2
source

I think this is a problem with your permissions in TFS. You must have View builds permission for the build that you assigned in the Build definition .

Ask your administrator to give you the necessary permission, or if you can do it yourself:

  • Open Visual Studio 2010
  • Go to Team Explorer Builds and right-click on the assembly you need.
  • Select Security and give the appropriate permission to the Owner Test Plan user in MTM.
+1
source

Source: https://habr.com/ru/post/1441073/


All Articles