Example #1
0
        public void GivenIHaveEnteredTheFollowingValuesToTheRegistrationFormWithoutReenteringEmailPhoneField(Table table)
        {
            dynamic account = table.CreateDynamicInstance();

            ScenarioContext.Current.Get <LoginSignupPage>().
            SetFirstName(account.Fname).
            SetLastName(account.Sname).
            SetMobileOrEmail(account.Email.ToString()).
            SetNewPassword(account.Password).
            SetGender(GenderHelper.GetGender(account.Gender));
        }