Example #1
0
 public string FindBookingWithWrongSurname(Booking booking)
 {
     BookingSurname.SendKeys(booking.WrongSurname);
     SearchButton.Click();
     Thread.Sleep(TimeSpan.FromSeconds(2));
     return(ErrorMessage.Text);
 }
Example #2
0
 public string FindBookingWithEmptySurname(Booking booking)
 {
     BookingSurname.SendKeys(booking.EmptySurname);
     SearchButton.Click();
     return(ErrorMessageSurname.Text);
 }