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(); } }
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(); } }
static SauceryRoot() { SauceLabsStatusNotifier = new SauceLabsStatusNotifier(); SauceLabsFlowController = new SauceLabsFlowController(); }
//public SauceryBase() // : base() //{ //} static SauceryBase() { SauceLabsStatusNotifier = new SauceLabsStatusNotifier(); }
static SauceryRoot() { //Console.WriteLine("In SauceryRoot static initialiser"); SauceLabsStatusNotifier = new SauceLabsStatusNotifier(); SauceLabsFlowController = new SauceLabsFlowController(); }