public void ThenISearchForEachOfTheSuburbFromTheTestdataRestaurantCountShouldBeDisplayedForTheSearchedSuburbOnTheSERPPage() { foreach (var data in testData) { Driver.GoToSite(URL.MenulogHomePageUrl); MenulogHomePage.SearchSuburb(data); Reporter.LoggerMessage(MenulogSERPPage.GetRestaurantsServingCount() + " Restaurants Serving in " + data + " Suburb"); } }
public void GivenIEnterTheSuburbAs(string suburb) { MenulogHomePage.SearchSuburb(suburb); ScenarioContext.Current["Suburb"] = suburb; }