Exemplo n.º 1
0
        public void WhenILoginWithUsernameAndPasswordAsInputs(string username, string password)
        {
            LoginPObject loginPage = new LoginPObject(webDriver);

            loginPage.LoginAs(username, password);
        }
Exemplo n.º 2
0
        public void WhenILoginWithUsernameAndPasswordOnTheLoginPage(string username, string password)
        {
            LoginPObject loginPage = new LoginPObject(driver);

            loginPage.LoginAs(username, password);
        }