예제 #1
0
 public void SetUpForEverySingleTestMethod()
 {
     Driver                    = GetChromeDriver();
     TheTestLoginUser          = new TestLoginUser();
     TheTestLoginUser.Username = "******";
     TheTestLoginUser.Password = "******";
 }
예제 #2
0
        internal HomePage FillOutFormAndLogin(TestLoginUser user)
        {
            UsernameField.SendKeys(user.Username);
            PasswordField.SendKeys(user.Password);
            LoginButton.Submit();

            return(new HomePage(Driver));
        }