title: CodedUI tests - start a browser once for the entire set of tests
body: <p>I'm writing some codedUI tests in VS2010 to test a web application. I'd like to be able to open the browser <strong>once</strong> for the entire set of tests in the solution and then close it again when the tests finish. </p>
  
  <p>I've tried <code>AssemblyInitialize</code> attribute on a method, with my <code>BrowserWindow.Launch</code> in there, but it gives me the following exception when I run it:</p>
  
  <blockquote>
    <p>Assembly Initialization method OrdersGridTesting.SuiteSetup.Login
    threw exception.
    Microsoft.VisualStudio.TestTools.UITest.Extension.TechnologyNotSupportedException:
    Microsoft.VisualStudio.TestTools.UITest.Extension.TechnologyNotSupportedException:
    The browser  is currently not supported.. Aborting test execution.</p>
  </blockquote>
  
  <p>This same code works fine when I put it into a <code>TestMethod</code>, which leads me to believe that this isn't possible. Can someone suggest another method of doing this if so? I'd like a method that doesn't involve adding the same code to every test class in the project, if possible.</p>
  
  <p>Thanks!</p>