Beispiel #1
0
        public static void SendLogin(LoginFields fields, String username, String password)
        {
            fields.UsernameField.SendKeys(username);
            fields.PasswordField.SendKeys(password);

            fields.SubmitButton.Click();
            Thread.Sleep(2000);
        }
Beispiel #2
0
 private void AssertLoginPageFields(LoginFields fields)
 {
     Assert.IsNotNull(fields.UsernameField);
     Assert.IsNotNull(fields.PasswordField);
     Assert.IsNotNull(fields.SubmitButton);
 }