public virtual CreateCustomerStep2Screen FillAndNext(Customer customer) { nameTextBox.BulkText = customer.Name; ageTextBox.BulkText = customer.Age; nextButton.Click(); return screenRepository.Get<CreateCustomerStep2Screen>("Create Customer Step2", InitializeOption.NoCache); }
public void IssueMovie_AnotherTry() { DashboardScreen dashboardScreen = new DashboardScreen(window, application); Customer customer = new Customer("Rakesh Kumar", "26", "34343545"); CreateCustomerStep1Screen step1Screen = dashboardScreen.LaunchCreateCustomer(); step1Screen.FillAndNext(customer); }
public virtual void Finish(Customer customer) { phoneNumberTextBox.Text = customer.PhoneNumber; submitButton.Click(); }
public virtual void Finish_UsingAutomaticPopulate(Customer customer) { Populate(new VideoLibraryFieldMap(), customer); submitButton.Click(); }
public virtual void CreateCustomer(Customer customer) { CreateCustomerStep1Screen customerStep1Screen = dashboard.LaunchCreateCustomer(); CreateCustomerStep2Screen customerStep2Screen = customerStep1Screen.FillAndNext(customer); customerStep2Screen.Finish(customer); }
public virtual CreateCustomerStep2Screen FillAndNext_UsingAutomaticPopulate(Customer customer) { Populate(new VideoLibraryFieldMap(), customer); nextButton.Click(); return screenRepository.Get<CreateCustomerStep2Screen>("Create Customer Step2", InitializeOption.NoCache); }