private void FillAddressInfoInternal(Data.ClientPurchaseInfo clientInfo) { CountryDropDown.SelectByText(clientInfo.ShippingInfo.Country); FullNameInput.SendKeys(clientInfo.ShippingInfo.FullName); Address1Input.SendKeys(clientInfo.ShippingInfo.Address1); CityInput.SendKeys(clientInfo.ShippingInfo.City); ZipInput.SendKeys(clientInfo.ShippingInfo.Zip); PhoneInput.SendKeys(clientInfo.ShippingInfo.Phone); ShipToThisAddress.Click(); }
public RegistrationPage FillForm(string email, string fullName, string password, string cpassword) { EmailInput.Clear(); EmailInput.Set(email); FullNameInput.Clear(); FullNameInput.Set(fullName); PasswordInput.Clear(); PasswordInput.Set(password); ConfirmPasswordInput.Clear(); ConfirmPasswordInput.Set(cpassword); return(this); }
public RegistrationPage FillForm(User user) { EmailInput.Clear(); EmailInput.Set(user.Email.Value); FullNameInput.Clear(); FullNameInput.Set(user.FullName); PasswordInput.Clear(); PasswordInput.Set(user.Password); ConfirmPasswordInput.Clear(); ConfirmPasswordInput.Set(user.Password); return(this); }