示例#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));
        }