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); }
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(); }