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); }
public SignUpVerifyingPage SignUp(string email, string password) { FillName(RandomDataGenerator.RandomStringOnlyLetters(10)); FillLastName(RandomDataGenerator.RandomStringOnlyLetters(10)); FillMobileNumber(RandomDataGenerator.RandomAlphaNumericString(10)); FillEmail(email); FillInPassword(password); FillInConfirmPassword(password); SignUpButton.Click(); return(new SignUpVerifyingPage() { Driver = Driver }); }
public void ClickOnSignUpButton() { SignUpButton.Click(); }
//return SignUpPage public void GoToSignUpPage() { SignUpButton.Click(); }
public void SignUp() { SignUpButton.Click(); }