Esempio n. 1
0
        public MainPage InputBothCities(ModelCheckInUser user, IWebDriver driver)
        {
            notExistCityBox.SendKeys(user.AloneCity);
            bothCitiesBox.SendKeys(user.CityTo);
            Actions action = new Actions(driver);

            action.MoveToElement(notExistCityBox);
            action.Perform();
            notExistCityBox.Click();
            return(this);
        }
Esempio n. 2
0
 public CheckInPage InputPrivateInformationInCheckInPage(ModelCheckInUser user)
 {
     ticketNumber.SendKeys(user.TicketNumber);
     surname.SendKeys(user.Surname);
     return(this);
 }
Esempio n. 3
0
 public MainPage InputCity(ModelCheckInUser user)
 {
     notExistCityBox.SendKeys(user.NotExistCity);
     return(this);
 }
Esempio n. 4
0
 public MainPage InputBothCities(ModelCheckInUser user)
 {
     bothCitiesBox.SendKeys(user.AloneCity);
     bothCitiesBox.SendKeys(user.CityTo);
     return(this);
 }