public ActivationRequestedPage RegisterNewUser() { NavigateToPage(); ClearForm(); UserNameField.SendKeys(TestUser.Username + "2"); PasswordField.SendKeys(TestUser.Password); RetypePasswordField.SendKeys(TestUser.Password); EmailField.SendKeys("*****@*****.**"); SignUpButton.Click(); return(new ActivationRequestedPage(WebDriver)); }
public RegisterPage RegisterUsingAlreadyTakenEmail() { NavigateToPage(); ClearForm(); UserNameField.SendKeys(TestUser.Username + "2"); PasswordField.SendKeys(TestUser.Password); RetypePasswordField.SendKeys(TestUser.Password); EmailField.SendKeys(TestUser.Email); SignUpButton.Click(); return(this); }