title: Strategy for Automated UI testing on remote virtual machines
body: <p>I'm using TeamCity for my CI builds, and I'd like to set up a second build for running automated UI tests on Windows XP and Windows 7 virtual machines. </p>
  
  <p>I imagine the build working as follows:</p>
  
  <ol>
  <li>Compile, run unit tests, etc.</li>
  <li>Prepare MSI using WiX</li>
  <li>Copy MSI to target test machines</li>
  <li>Remotely execute MSI's </li>
  <li>Copy test harness code to remote machine</li>
  <li>Run tests</li>
  <li>Build finishes</li>
  </ol>
  
  <p>The automated UI tests are written using NUnit and would need to be run directly on the test virtual machine (they can't run remotely). It's important that if the tests fail, it appears in the TeamCity build log and the build fails. I'd rather not install VS or the TeamCity build agents on either of the test virtual machines.</p>
  
  <p>It seems that most of this should be possible using <a href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx" rel="noreferrer">psexec.exe</a>. Are there any alternative (preferably open source) tools that I should look at?</p>