I have written a few tests with COdedUI testing a web app. I want to open the browser once in the solution and close it after all tests are done.
When I run tests while using AssemblyInitialize attribute on a method, with my BrowserWindow.Launch, it keeps throwing exception.
For some reason the code will work fine if its in a TestMethod.
What am I missing ?