Ejemplo n.º 1
0
        public void Initialize()
        {
            var browser = TestContext.Parameters.Get("Browser");

            Console.WriteLine("The browser is: " + browser);

            App = SingletonAppManager.GetInstance().App;
            App.Driver.Navigate().GoToUrl("https://app.kidslox.com");
        }
Ejemplo n.º 2
0
 public void TearDown()
 {
     if (TestContext.CurrentContext.Result.FailCount > 0)
     {
         ScreenshotListener.SaveScreenshot(App);
     }
     App.Driver.Close();
     App.Driver.Quit();
     SingletonAppManager.ResetSingleton();
 }