Exemplo n.º 1
0
        public virtual void CreateCustomer(Customer customer)
        {
            CreateCustomerStep1Screen customerStep1Screen = dashboard.LaunchCreateCustomer();
            CreateCustomerStep2Screen customerStep2Screen = customerStep1Screen.FillAndNext(customer);

            customerStep2Screen.Finish(customer);
        }
Exemplo n.º 2
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);
        }