Exemplo n.º 1
0
        public void BeforeScenario()
        {
            scenario = featureName.CreateNode <Scenario>(ScenarioContext.Current.ScenarioInfo.Title);
            Dashboard.CreateTest(ScenarioContext.Current.ScenarioInfo.Title);
            var browser = NUnit.Framework.TestContext.Parameters["browser"] ?? "Chrome";

            Parameters.SaveParameter(Parameters.Test.TestName.ToString(), String.Format("{0} - {1}", FeatureContext.Current.FeatureInfo.Title, ScenarioContext.Current.ScenarioInfo.Title));
            ScreenDriver.Initialize(browser);
        }