Exemplo n.º 1
0
        public static void ClassInitialize(TestContext TC)
        {
            CreateTestSolution();

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

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

            mGingerAutomator = GingerAutomator.StartSession();
        }