public void StartSearch(string UrlIfHFaild) { Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver); initialPage_MainForm.StartTicketSearch(); Pages.SearchResultPage searchResultPage = new Pages.SearchResultPage(driver, UrlIfHFaild); }
public bool IsCityToHelperDisplayed(string cityName) { Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver); initialPage_MainForm.PopulateArrival(cityName, false); return(initialPage_MainForm.CheckCityHelper()); }
public void PopulateDateTo(string dateTo) { Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver); initialPage_MainForm.PopulateDateTo(dateTo); }
public void PopulateAdultPassengers(int count) { Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver); initialPage_MainForm.PopulateAdultPassengers(count); }
public void PopulateDeparture(string cityName) { Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver); initialPage_MainForm.PopulateDeparture(cityName, true); }