title: Setting up remote execution of Coded UI Tests Via MTM
body: <p>I have searched high and low for clear set of instructions for my case. I have even followed instructions from Testing for Continuous Delivery with Visual Studio 2012 book.</p>
  
  <p>The query is: I would like to run my coded ui tests from Microsoft Test Manager.</p>
  
  <ul>
  <li>I have created Coded UI Tests in VS2012 that work
  <ul>
  <li>This is a separate solution from the web application all together</li>
  </ul></li>
  <li>I use TFS2012 to manage the web app solution</li>
  <li>The test controller has been setup on the same server as the web application
  <ul>
  <li>The test controller has been configured to work with the tfs default project collection </li>
  </ul></li>
  <li>The Test/Lab Manager has been setup on my PC
  <ul>
  <li>I have added a standard virtual environment</li>
  </ul></li>
  <li>I have associated a test case to a coded ui test</li>
  </ul>
  
  <p>The next step is where I am stuck...All of the forums and the book state that I need to create a deploy - build - test process. Since my coded ui test solution separate from the web application does this change anything, if not, how do I go about doing this?</p>
  
  <p>If my understanding is correct once my coded ui test solution is built, </p>
  
  <ul>
  <li>I need to deploy it to some directory in the virtual environment created via Lab Manager
  <ul>
  <li>This will drop the coded ui test dlls into some directory</li>
  </ul></li>
  <li>I can than use Lab Manager to run the test which will use vs2012 on the virtual environment to run the coded ui test from the dlls</li>
  </ul>
  
  <p>Please correct me if I'm wrong, and provide steps that I can use to finish of the set-up for my case.</p>
  
  <p>Thank you all in advance!</p>