public void FillPaymentInfoForm() { var evoPayment = new EvoPaymentInfo(); CardHolderName.SendKeys(evoPayment.CardHolderName); CardNumber.SendKeys(evoPayment.CardNumber); MonthOfExpire.SelectByValue(evoPayment.MonthOfExpire); YearOfExpire.SelectByValue(evoPayment.YearOfExpire); CvvCode.SendKeys(evoPayment.CvvCode); }
public PaymentInfoPage FillPersonalInfoForm() { Email.SendKeys(evoUser.Email); Password.SendKeys(evoUser.Password); ConfirmPassword.SendKeys(evoUser.ComfirmPassword); FirstName.SendKeys(evoUser.FirstName); LastName.SendKeys(evoUser.LastName); MonthOfBirth.SelectByValue(evoUser.MonthOfBirth); DateOfBirth.SelectByValue(evoUser.DateOfBirth); YearOfBirth.SelectByValue(evoUser.YearOfBirth); GenderMale.Click(); Address.SendKeys(evoUser.HomeAddress); City.SendKeys(evoUser.City); PostalCode.SendKeys(evoUser.PostalCode); PhoneNumber.SendKeys(evoUser.PhoneNumber); DriverLicense.SendKeys(evoUser.DriverLicense); MonthOfExpire.SelectByValue(evoUser.MonthOfExpire); DateOfExpire.SelectByValue(evoUser.DateOfExpire); YearOfExpire.SelectByValue(evoUser.YearOfExpire); BtnNextStep.Click(); return(new PaymentInfoPage()); }