Exemple #1
0
 public void FillInformation(SearchInformatoin searchInfromation)
 {
     FromInput.ChooseDestination(searchInfromation.StartPoint);
     ToInput.ChooseDestination(searchInfromation.Destination);
     AdultsPassengers.SetNumberOfPassengers(searchInfromation.AdultPassengerNumber);
     ChildPassengers.SetNumberOfPassengers(searchInfromation.ChildsPassngerNumber);
     OneWayDatePicker.SetDate(searchInfromation.DepartureAfterSpecificDays);
 }
Exemple #2
0
        public void CreateLetterInDraft(Message message)
        {
            ToInput.Click();
            ToInput.SendKeys(message.To);
            SubjectInput.SendKeys(message.Subject);
            BodyInput.Click();
            BodyInput.SendKeys(message.Body);
            IWebElement elem = CheckIsSaveLetter;

            SaveAndCloseButton.Click();
        }