Exemple #1
0
 public SignUpPage FillInPassword(string password)
 {
     PasswordInputField.Click();
     PasswordInputField.Clear();
     PasswordInputField.SendKeys(password);
     return(this);
 }
Exemple #2
0
 /// <summary>
 /// Clears the input fields, inputs data and clicks the login button.
 /// </summary>
 /// <param name="login"></param>
 /// <param name="password"></param>
 public void Authenticate(string login, string password)
 {
     EmailInputField.Clear();
     EmailInputField.SendKeys(login);
     PasswordInputField.Clear();
     PasswordInputField.SendKeys(password);
     LoginButton.Click();
 }
Exemple #3
0
 /// <summary>
 /// Fills the password input with 'fakepass'.
 /// </summary>
 public void FillIncorrectEmail()
 {
     PasswordInputField.Clear();
     PasswordInputField.SendKeys("fakepass");
 }