Ejemplo n.º 1
0
 static SauceryRoot()
 {
     OnceOnlyMessages.TestingOn(JsonConvert.DeserializeObject <List <SaucePlatform> >(Enviro.SauceOnDemandBrowsers));
     OnceOnlyMessages.OnDemand();
     SauceLabsStatusNotifier = new SauceLabsStatusNotifier();
     SauceLabsFlowController = new SauceLabsFlowController();
 }
 public void Cleanup()
 {
     if (Driver != null)
     {
         var passed = Equals(TestContext.CurrentContext.Result.Outcome, ResultState.Success);
         // log the result to SauceLabs
         SauceLabsStatusNotifier.NotifyStatus(Driver.GetSessionId(), passed);
         PrintSessionDetails();
         Driver.Quit();
     }
 }
Ejemplo n.º 3
0
 public void Cleanup()
 {
     if (Driver != null)
     {
         var passed = TestContext.CurrentContext.Result.Status == TestStatus.Passed;
         // log the result to SauceLabs
         SauceLabsStatusNotifier.NotifyStatus(Driver.GetSessionId(), passed);
         PrintSessionDetails();
         Driver.Quit();
     }
 }
Ejemplo n.º 4
0
 static SauceryRoot()
 {
     SauceLabsStatusNotifier = new SauceLabsStatusNotifier();
     SauceLabsFlowController = new SauceLabsFlowController();
 }
Ejemplo n.º 5
0
        //public SauceryBase()
        //    : base()
        //{
        //}

        static SauceryBase()
        {
            SauceLabsStatusNotifier = new SauceLabsStatusNotifier();
        }
Ejemplo n.º 6
0
 static SauceryRoot()
 {
     //Console.WriteLine("In SauceryRoot static initialiser");
     SauceLabsStatusNotifier = new SauceLabsStatusNotifier();
     SauceLabsFlowController = new SauceLabsFlowController();
 }