public CoreTest() { Inicializacao init = new Inicializacao(); DriverFactory.GetDriver().Url = "https://mark7.herokuapp.com"; init.Realizarlogin(); }
public void BeforeScenario() { string feature = featureContext.FeatureInfo.Title; string cenario = scenarioContext.ScenarioInfo.Title; var tags = scenarioContext.ScenarioInfo.Tags; DriverFactory.initDriver("Chrome").Url = "https://mark7.herokuapp.com"; Inicializacao init = new Inicializacao(DriverFactory.GetDriver()); init.Realizarlogin(); ExtentTestManager.CreateScenario(feature, cenario, $@"-- Tags:{string.Join(",", tags)}"); container.RegisterInstanceAs <RemoteWebDriver>(DriverFactory.GetDriver()); }