I\'m writing some codedUI tests in VS2010 to test a web application. I\'d like to be able to open the browser once for the entire set of tests in the solution a
BrowserWindow uatwebjetcomauBrowser = BrowserWindow.Launch(new System.Uri(this.LaunchBrowserParams.Url));
If using ClassInitialize
, you need to initialize the playback engine with Playback.Initialize()
[ClassInitialize]
public static void LaunchBroswer(TestContext context)
{
Playback.Initialize();
BrowserWindow browser = BrowserWindow.Launch(new System.Uri("about:blank"));
}