예제 #1
0
 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);
 }
예제 #2
0
 public bool IsCityToHelperDisplayed(string cityName)
 {
     Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver);
     initialPage_MainForm.PopulateArrival(cityName, false);
     return(initialPage_MainForm.CheckCityHelper());
 }
예제 #3
0
 public void PopulateDateTo(string dateTo)
 {
     Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver);
     initialPage_MainForm.PopulateDateTo(dateTo);
 }
예제 #4
0
 public void PopulateAdultPassengers(int count)
 {
     Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver);
     initialPage_MainForm.PopulateAdultPassengers(count);
 }
예제 #5
0
 public void PopulateDeparture(string cityName)
 {
     Pages.InitialPage_MainForm initialPage_MainForm = new Pages.InitialPage_MainForm(driver);
     initialPage_MainForm.PopulateDeparture(cityName, true);
 }