title: Executing coded UI test from a standalone application
body: <p>I found several blog posts about how to execute code UI tests using mstest utility, but I need to execute them from my C# application. I tried the simplest thing: I created a console application, added references to </p>
  
  <ul>
  <li>Microsoft.VisualStudio.TestTools.UITest.Logging.dll</li>
  <li>Microsoft.VisualStudio.TestTools.UITest.Playback.dll</li>
  <li>Microsoft.VisualStudio.TestTools.UITesting.dll</li>
  </ul>
  
  <p>and I tried calling UI test method from my application. I got the following error:</p>
  
  <pre><code>The following is not a valid technology name: MSAA. To search for a control, you must specify a valid technology name.
  </code></pre>
  
  <p>I tried referencing other assemblies which are related to UI testing, but the error stays the same. Maybe there's something that I should add to App.config to be able to run the tests?</p>