public OnlineShoppingCartFacade( BillingInformationPage billingInformationPage, ShoppingCartPage shoppingCartPage) { this.billingInformationPage = billingInformationPage; this.shoppingCartPage = shoppingCartPage; }
public OnlineShoppingCartFacade( BillingInformationPage billingInformationPage, ShoppingCartPage shoppingCartPage) { this.BillingInformationPage = billingInformationPage; this.ShoppingCartPage = shoppingCartPage; }
public void CreatePurchaseBulgaria_AndValidateNoVATTax() { IWebDriver driver = new FirefoxDriver(); ShoppingCartPage shoppingCartPage = new ShoppingCartPage(driver); BillingInformationPage billingInformationPage = new BillingInformationPage(driver); OnlineShoppingCartFacade onlineShoppingCart = new OnlineShoppingCartFacade(shoppingCartPage, billingInformationPage); BillingInformation billingInfo = new BillingInformation("Anton", "Angelov", "Kaspichan"); ShippingInformation shippingInfo = new ShippingInformation("Anton", "Angelov", "Kalofer"); onlineShoppingCart.PerformPurchase(billingInfo, shippingInfo); }
public void CreatePurchaseBulgaria_AndValidateNoVATTax() { IWebDriver driver = new FirefoxDriver(); var shoppingCartPage = new ShoppingCartPage(driver); var billingInformationPage = new BillingInformationPage(driver); var onlineShoppingCart = new OnlineShoppingCartFacade(billingInformationPage, shoppingCartPage); var billingInfo = new BillingInformation("Anton", "Angelov", "Kaspichan"); var shippingInfo = new ShippingInformation("Anton", "Angelov", "Kalofer"); onlineShoppingCart.PerformPurchase(billingInfo, shippingInfo); }