Ejemplo n.º 1
0
        public void TearDown()
        {
            if (IsUiTest())
            {
                if (_scenarioContext.TestError != null)
                {
                    var path = WebElementsUtils.MakeScreenshot(_driver);
                    _allureLifecycle.AddAttachment(path);
                }

                Logger.Info("WebDriver termination.");
                _driver.DriverTermination();
            }

            AllureHackForScenarioOutlineTests();
        }
Ejemplo n.º 2
0
 public void GivenGoToGmail()
 {
     WebElementsUtils.OpenUrl(Configuration.Instance.Url, this.driver.WebDriver);
 }