public ContactPage AskQuestion(string email, string bookingNumber, string question)
 {
     Email.SendKeys(email);
     BookingNumber.SendKeys(bookingNumber);
     Question.SendKeys(question);
     ButtonSend.Click();
     log.Info("Question askred");
     return(new ContactPage(driver));
 }
Exemplo n.º 2
0
 public string FindBookingWithWrongBookingNumber(Booking booking)
 {
     BookingNumber.SendKeys(booking.WrongBooking);
     SearchButton.Click();
     return(ErrorMessage.Text);
 }