Example #1
0
 public void ClickDifferentBillingCheckBox(SpecflowBehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     if (clientInfo.BillingInfo != null)
     {
         this.DifferemtFromBillingCheckbox.Click();
     }
 }
Example #2
0
 public void FillBillingInfo(SpecflowBehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     if (clientInfo.BillingInfo != null)
     {
         this.FillAddressInfoInternal(clientInfo);
     }
 }
Example #3
0
 private void FillAddressInfoInternal(SpecflowBehavioursDesignPattern.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();
 }
Example #4
0
 public void FillShippingInfo(SpecflowBehavioursDesignPattern.Data.ClientPurchaseInfo clientInfo)
 {
     this.FillAddressInfoInternal(clientInfo);
 }