Esempio n. 1
0
 public void FillFormWithoutLastNameInYPISection(AutomationPracticeModel user)
 {
     FirstNameYPISection.SendKeys(user.FirstNameYPISection);
     Password.SendKeys(user.Password);
     LastNameYASection.SendKeys("Goshov");
     Address.SendKeys(user.Address);
     City.SendKeys(user.City);
     State.Click();
     StateChoise.Click();
     Zip.SendKeys(user.Zip);
     MobilePhone.SendKeys(user.MobilePhone);
     AddressAlias.Clear();
     AddressAlias.SendKeys(user.AddressAlias);
     RegisterButton.Click();
 }
Esempio n. 2
0
 public void FillForm(RegistrationUser user)
 {
     RadioButtons[1].Click();
     CutomerFirstName.SendKeys(user.FirstName);
     CutomerLastName.SendKeys(user.LastName);
     CustomerPassword.SendKeys(user.Password);
     Date.SelectByValue(user.Date);
     Month.SelectByValue(user.Month);
     Year.SelectByValue(user.Year);
     Address.SendKeys(user.Address);
     City.SendKeys(user.City);
     State.SelectByText(user.State);
     ZipCode.SendKeys(user.PostCode);
     Phone.SendKeys(user.Phone);
     AddressAlias.SendKeys(user.Alias); //alias.Type("Maria") ???
     RegisterButton.Click();
 }
        public void FillForm(User user)
        {
            FirstName.SendKeys(user.FirstName);
            LastName.SendKeys(user.LastName);

            Password.SendKeys(user.Password);
            Days.Click();
            DayOption.Click();
            Months.Click();
            MonthOption.Click();
            Years.Click();
            YearOption.Click();
            Address.SendKeys(user.Address);
            City.SendKeys(user.City);
            State.Click();
            StateOption.Click();
            Zip.SendKeys(user.ZipCode);

            HomePhone.SendKeys(user.HomePhone);
            Mobile.SendKeys(user.MobilePhone);
            AddressAlias.Clear();
            AddressAlias.SendKeys(user.AddressAlias);
            RegisterButton.Click();
        }