Example #1
0
        protected void ConfirmAccount(string accessCode)
        {
            if (AccountConfirmationPage == null)
            {
                throw new Exception("Not on registration page");
            }

            AccountConfirmationPage.AccessCode = accessCode;
            AccountConfirmationPage.ClickContinue();
            AccountConfirmationPage = null;
        }
Example #2
0
        protected void CreateAccount(string firstName, string lastName, string emailAddress, string password, string confirmPassword)
        {
            if (RegistationPage == null)
            {
                throw new Exception("Not on registration page");
            }

            RegistationPage.FirstName       = firstName;
            RegistationPage.LastName        = lastName;
            RegistationPage.Email           = emailAddress;
            RegistationPage.Password        = password;
            RegistationPage.ConfirmPassword = confirmPassword;
            AccountConfirmationPage         = RegistationPage.ClickSetUp();
            RegistationPage = null;
        }