public void Search(MovieSearchCriteria criteria)
 {
     window.Get<TextBox>("nameTextbox").Text = criteria.Name;
     window.Get<TextBox>("directorTextbox").Text = criteria.Director;
     window.Get<Button>("search").Click();
     window.Get<Button>("select").Click();
 }
Esempio n. 2
0
 public virtual void IssueMovie(CustomerSearchCriteria customerSearchCriteria, MovieSearchCriteria movieSearchCriteria)
 {
     SearchCustomerScreen searchCustomerScreen = dashboard.LaunchSearchCustomer();
     searchCustomerScreen.Search(customerSearchCriteria);
     SearchMoviesScreen searchMoviesScreen = searchCustomerScreen.LaunchSearchMovies();
     searchMoviesScreen.Search(movieSearchCriteria);
     searchMoviesScreen.Select();
 }
 public virtual void Search(MovieSearchCriteria criteria)
 {
     nameTextbox.Text = criteria.Name;
     directorTextbox.Text = criteria.Director;
     search.Click();
 }