public void SetUp() { //SetUp method that recieves a driver as a parameter and returns //that same driver configured Logger.Info("Call to SetUpClass.SetUp(driver)"); driver = SetUpClass.SetUp(driver); }
public void SetUp() { driver = SetUpClass.SetUp(driver); LoginPage loginPage = new LoginPage(driver); loginPage.FillLogin(ConfigurationManager.AppSettings["username"], ConfigurationManager.AppSettings["password"]); }
public void SetUp() { Logger.Info("Call to SetupClass.Setup(driver)"); driver = SetUpClass.SetUp(driver); LoginPage loginPage = new LoginPage(driver); Logger.Info("Call to FillLogin"); loginPage.FillLogin(ConfigurationManager.AppSettings["username"], ConfigurationManager.AppSettings["password"]); }
public void SetUp() { //receives one driver as parameter and returns that //parameter configured Logger.Info("Call to SetupClass.Setup(driver)"); driver = SetUpClass.SetUp(driver); //login using the Username and Password in the App.config file LoginPage loginPage = new LoginPage(driver); Logger.Info("Call to FillLogin"); loginPage.FillLogin(ConfigurationManager.AppSettings["username"], ConfigurationManager.AppSettings["password"]); }