예제 #1
0
        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));
        }
예제 #2
0
        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);
        }
예제 #3
0
        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
            });
        }
예제 #4
0
 public void ClickOnSignUpButton()
 {
     SignUpButton.Click();
 }
예제 #5
0
 //return SignUpPage
 public void GoToSignUpPage()
 {
     SignUpButton.Click();
 }
예제 #6
0
 public void SignUp()
 {
     SignUpButton.Click();
 }