Exemple #1
0
 public void LoginGithub(string username, string password)
 {
     logger.Info("Log in to github");
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.OpenPage();
     loginPage.Login(username, password);
 }
Exemple #2
0
 public void LoginGMail(string username, string password)
 {
     logger.Info("Log in to Gmail");
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.OpenPage();
     loginPage.Login(username, password);
     driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3));
 }
Exemple #3
0
        public void WhenIEnterTheFollowingDetailsAndLogin(Table table)
        {
            //ScenarioContext.Current.Pending();
            dynamic data = table.CreateDynamicInstance();

            loginPage.Login((string)data.UserName, (string)data.Password);
            loginPage.ClickSigninButton();
        }
Exemple #4
0
 public void LoginIntercity(string username, string password)
 {
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.OpenPage();
     loginPage.Login(username, password);
 }
        public void LoginCopy(string username, string password)
        {
            log.Info("Create LoginPage.");
            Console.WriteLine("Create LoginPage.");

            Pages.LoginPage loginPage = new Pages.LoginPage(driver);
            loginPage.OpenPage();

            log.Info("Open LoginPage.");
            Console.WriteLine("Open LoginPage.");

            loginPage.Login(username, password);
        }
Exemple #6
0
 public void LogIn(string username, string password)
 {
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.Login(username, password);
 }
 public void LoginGithub(string username, string password)
 {
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.OpenPage();
     loginPage.Login(username, password);
 }
 public void LoginGmail(string userEmail, string password)
 {
     Pages.LoginPage loginPage = new Pages.LoginPage(driver);
     loginPage.OpenPage();
     loginPage.Login(userEmail, password);
 }