Beispiel #1
0
        public static void ClassInitialize(TestContext TC)
        {
            CreateTestSolution();

            mGingerAutomator = GingerAutomator.StartSession();
            mGingerAutomator.OpenSolution(solutionFolder);
        }
Beispiel #2
0
        public static void ClassInitialize(TestContext TC)
        {
            // mWorkspaceLocker.StartSession("HTMLReportTest", mWorkspaceLocker);
            CreateTestSolution();

            mGingerAutomator = GingerAutomator.StartSession();
            mGingerAutomator.OpenSolution(solutionFolder);
        }
Beispiel #3
0
        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);
 }
Beispiel #5
0
 public static void ClassCleanup()
 {
     GingerAutomator.EndSession();
 }
Beispiel #6
0
 public static void ClassInit(TestContext TC)
 {
     //Arrange
     mGingerAutomator = GingerAutomator.StartSession();
 }
Beispiel #7
0
        public static void ClassInit(TestContext TestContext)
        {
            mTestHelper.ClassInitialize(TestContext);

            mGingerAutomator = GingerAutomator.StartSession();
        }