public static void ClassInitialize(TestContext TC) { CreateTestSolution(); mGingerAutomator = GingerAutomator.StartSession(); mGingerAutomator.OpenSolution(solutionFolder); }
public static void ClassInitialize(TestContext TC) { // mWorkspaceLocker.StartSession("HTMLReportTest", mWorkspaceLocker); CreateTestSolution(); mGingerAutomator = GingerAutomator.StartSession(); mGingerAutomator.OpenSolution(solutionFolder); }
public static void ClassInit(TestContext TC) { string sampleSolutionFolder = TestResources.GetTestResourcesFolder(@"Solutions\EnvsTest"); SolutionFolder = TestResources.GetTestTempFolder(@"Solutions\EnvsTest"); if (Directory.Exists(SolutionFolder)) { Directory.Delete(SolutionFolder, true); } CopyDir.Copy(sampleSolutionFolder, SolutionFolder); mGingerAutomator = GingerAutomator.StartSession(); mGingerAutomator.OpenSolution(SolutionFolder); }
public static GingerAutomator StartSession() { SessionCount++; TestMutex.WaitOne(); // Make sure we run one session at a time, wait for session to be free if (app == null) { gingerAutomatorInstance = new GingerAutomator(); gingerAutomatorInstance.StartGinger(); while (!isReady) { Thread.Sleep(100); } } return(gingerAutomatorInstance); }
public static void ClassCleanup() { GingerAutomator.EndSession(); }
public static void ClassInit(TestContext TC) { //Arrange mGingerAutomator = GingerAutomator.StartSession(); }
public static void ClassInit(TestContext TestContext) { mTestHelper.ClassInitialize(TestContext); mGingerAutomator = GingerAutomator.StartSession(); }