title: How to associate coded ui test in Microsoft Test Manager
body: <p>I have few points that I couldn't understand for usage of MTM (Microsoft test Manager). I have written some Coded UI test and now I want to run them in MTM by associating them to manual tests in MTM.</p>
  
  <p>I found from documents that MTM has a build mechanism, works per build, however, my tests are not in the project I connected to Server, they are just in my local pc and in a separate solution.</p>
  
  <p>The points I do not understand</p>
  
  <p>When connecting to TFS, MTC does not ask for a branch or solution, you select a TFT server only, that means all tests coming from all solution will appear as candidate tests to associate to my manual tests in MTM?</p>
  
  <p>Since I wrote coded UI tests, they are not bound to a solution, I can run them on a separate executable screen, what should I do about this? Let's say I checked in my tests on TFS and get them from TFS in MTM, this time what I will get build is not the build that will be tested but it will be tested I will run, will that be a problem ?</p>
  
  <p>Another question, I do not have a separate lab environment, I just want to run coded ui scripts on my local pc, what should I do? Should still define- my local PC as a lab environment in order to run automated tests? If so how to do that ?</p>
  
  <p>Msdn pages does not give much documentation on these points, please help me.</p>