public void TestWFMMainPageMenu(string MenuCode) { WFMUtils.LoadWebPage(this.driver, "https://www.wholefoodsmarket.com/"); WFMMainPage WFMMainPageObj = new WFMMainPage(driver); WFMMainPageObj.DoMenuHover(WFMMainPageObj.NavMenuSelectors[MenuCode]); }
public void TestBrowseProductsClick() { WFMUtils.LoadWebPage(this.driver, "https://www.wholefoodsmarket.com/"); WFMMainPage WFMMainPageObj = new WFMMainPage(driver); WFMMainPageObj.ClickMenuLink(WFMMainPageObj.NavMenuSelectors["BrowseProducts"], "Browse Products"); WFMMainPageObj.Equals("https://products.wholefoodsmarket.com/"); Thread.Sleep(2000); }
public void TestStoreLocatorClick() { WFMUtils.LoadWebPage(this.driver, "https://www.wholefoodsmarket.com/"); WFMMainPage WFMMainPageObj = new WFMMainPage(driver); WFMMainPageObj.ClickMenuLink(WFMMainPageObj.NavMenuSelectors["StoreLocator"], "Store Locator"); WFMMainPageObj.Equals("https://www.wholefoodsmarket.com/stores"); Thread.Sleep(2000); }
public void TestTipsAndIdeasClick() { WFMUtils.LoadWebPage(this.driver, "https://www.wholefoodsmarket.com/"); WFMMainPage WFMMainPageObj = new WFMMainPage(driver); WFMMainPageObj.ClickMenuLink(WFMMainPageObj.NavMenuSelectors["Tips&Ideas"], "Tips & Ideas"); WFMMainPageObj.Equals("https://inspiration.wholefoodsmarket.com/"); Thread.Sleep(2000); }
public void TestWeeklySalesClick() { WFMUtils.LoadWebPage(this.driver, "https://www.wholefoodsmarket.com/"); WFMMainPage WFMMainPageObj = new WFMMainPage(driver); WFMMainPageObj.ClickMenuLink(WFMMainPageObj.NavMenuSelectors["WeeklySales"], "Weekly Sales"); WFMMainPageObj.Equals("https://www.wholefoodsmarket.com/sales-flyer"); Thread.Sleep(2000); }