Пример #1
0
 public void ClickDifferentBillingCheckBox(BehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     if (clientInfo.BillingInfo != null)
     {
         this.DifferemtFromBillingCheckbox.Click();
     }
 }
Пример #2
0
 public void FillBillingInfo(BehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     if (clientInfo.BillingInfo != null)
     {
         this.FillAddressInfoInternal(clientInfo);
     }
 }
Пример #3
0
 private void FillAddressInfoInternal(BehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     this.CountryDropDown.SelectByText(clientInfo.ShippingInfo.Country);
     this.FullNameInput.SendKeys(clientInfo.ShippingInfo.FullName);
     this.Address1Input.SendKeys(clientInfo.ShippingInfo.Address1);
     this.CityInput.SendKeys(clientInfo.ShippingInfo.City);
     this.ZipInput.SendKeys(clientInfo.ShippingInfo.Zip);
     this.PhoneInput.SendKeys(clientInfo.ShippingInfo.Phone);
     this.ShipToThisAddress.Click();
 }
Пример #4
0
 public void FillShippingInfo(BehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     this.FillAddressInfoInternal(clientInfo);
 }