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

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

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

            mGingerAutomator = GingerAutomator.StartSession();
        }