public virtual void CreateCustomer(Customer customer)
        {
            CreateCustomerStep1Screen customerStep1Screen = dashboard.LaunchCreateCustomer();
            CreateCustomerStep2Screen customerStep2Screen = customerStep1Screen.FillAndNext(customer);

            customerStep2Screen.Finish(customer);
        }
Exemple #2
0
        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 void CreateCustomerWithoutEntities()
        {
            DashboardScreen           dashboardScreen = new DashboardScreen(window, application);
            CreateCustomerStep1Screen step1Screen     = dashboardScreen.LaunchCreateCustomer();

            step1Screen.FillAndNext("Rakesh Kumar", "26");
            CreateCustomerStep2Screen step2Screen = new CreateCustomerStep2Screen(window, application);

            step2Screen.Fill("34343545");
        }
Exemple #4
0
        public void Create()
        {
            ScreenRepository          screenRepository    = new ScreenRepository(application.ApplicationSession);
            Dashboard                 dashboard           = screenRepository.Get <Dashboard>("Dashboard", InitializeOption.NoCache);
            CreateCustomerStep1Screen customerStep1Screen = dashboard.LaunchCreateCustomer();

            Customer customer = new Customer("Rahul", "20", "4366654");
            CreateCustomerStep2Screen customerStep2Screen = customerStep1Screen.FillAndNext(customer);

            customerStep2Screen.Finish(customer);
        }