public virtual MainScreen SetUp(InitializeOption initializeOption)
 {
     application = new WinformsTestConfiguration().LaunchApplication();
     var screenRepository = new ScreenRepository(application.ApplicationSession);
     mainScreen = screenRepository.Get<MainScreen>("Form1", initializeOption);
     return mainScreen;
 }
        public virtual MainScreen SetUp(InitializeOption initializeOption)
        {
            application = new WinformsTestConfiguration().LaunchApplication();
            var screenRepository = new ScreenRepository(application.ApplicationSession);

            mainScreen = screenRepository.Get <MainScreen>("Form1", initializeOption);
            return(mainScreen);
        }
Example #3
0
 public virtual MainScreen SetUp(InitializeOption initializeOption)
 {
     application = new WinformsTestConfiguration().LaunchApplication();
     var screenRepository = new ScreenRepository(application.ApplicationSession);
     mainScreen = screenRepository.Get<MainScreen>("MainWindow", initializeOption);
     //mainScreen.Tabs[0].SelectTabPage(2);
     return mainScreen;
 }
 public virtual MainScreen SetUp(InitializeOption initializeOption)
 {
     WinFormTestConfiguration configuration = new WinFormTestConfiguration(string.Empty);
     application = configuration.Launch();
     ScreenRepository screenRepository = new ScreenRepository(application.ApplicationSession);
     mainScreen = screenRepository.Get<MainScreen>("Form1", initializeOption);
     return mainScreen;
 }
        public virtual MainScreen SetUp(InitializeOption initializeOption)
        {
            application = new WinformsTestConfiguration().LaunchApplication();
            var screenRepository = new ScreenRepository(application.ApplicationSession);

            mainScreen = screenRepository.Get <MainScreen>("MainWindow", initializeOption);
            //mainScreen.Tabs[0].SelectTabPage(2);
            return(mainScreen);
        }
        public virtual MainScreen SetUp(InitializeOption initializeOption)
        {
            var configuration = new WinFormTestConfiguration(string.Empty);

            application = configuration.Launch();
            var screenRepository = new ScreenRepository(application.ApplicationSession);

            mainScreen = screenRepository.Get <MainScreen>("Form1", initializeOption);
            return(mainScreen);
        }
        public void Create_PopulatingAutomatically()
        {
            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_UsingAutomaticPopulate(customer);
            customerStep2Screen.Finish_UsingAutomaticPopulate(customer);
        }
Example #8
0
        public void Create_PopulatingAutomatically()
        {
            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_UsingAutomaticPopulate(customer);

            customerStep2Screen.Finish_UsingAutomaticPopulate(customer);
        }
Example #9
0
 protected override MainScreen GetMainScreen(ScreenRepository screenRepository)
 {
     return(ScreenRepository.Get <MainScreen>("COM Shell - Save File Dialog", InitializeOption.NoCache));
 }
 protected override MainScreen GetMainScreen(ScreenRepository screenRepository)
 {
     return(ScreenRepository.Get <MainScreen>("Demo - Non-Modal Custom Dialog", InitializeOption.NoCache));
 }
Example #11
0
 private static DummyScreen GetScreen(ScreenRepository screenRepository)
 {
     return screenRepository.Get<DummyScreen>("dummy", InitializeOption.NoCache);
 }
Example #12
0
 private static DummyScreen FindScreen(ScreenRepository screenRepository)
 {
     return(screenRepository.Get <DummyScreen>(t => true, InitializeOption.NoCache));
 }
 protected override void TestSpecificSetup()
 {
     screenRepository = new ScreenRepository(application.ApplicationSession);
     dashboard        = screenRepository.Get <Dashboard>("Dashboard", InitializeOption.NoCache);
 }
Example #14
0
 protected override MainScreen GetMainScreen(ScreenRepository screenRepository)
 {
     return(screenRepository.Get <MainScreen>("Demo - Folder Browser Dialog", InitializeOption.NoCache));
 }
 protected override MainScreen GetMainScreen(ScreenRepository screenRepository)
 {
     return(ScreenRepository.Get <MainScreen>("Demo - Open File Dialog", InitializeOption.NoCache));
 }
Example #16
0
 public override MainScreen GetMainScreen(ScreenRepository repository)
 {
     return repository.Get<MainScreen>(Criteria(), InitializeOption.NoCache);
 }
Example #17
0
 public override MainScreen GetMainScreen(ScreenRepository repository)
 {
     return(repository.Get <MainScreen>(Criteria(), InitializeOption.NoCache));
 }
Example #18
0
 private static DummyScreen GetScreen(ScreenRepository screenRepository)
 {
     return(screenRepository.Get <DummyScreen>("dummy", InitializeOption.NoCache));
 }
Example #19
0
 private static DummyScreen FindScreen(ScreenRepository screenRepository)
 {
     return screenRepository.Get<DummyScreen>(t => true, InitializeOption.NoCache);
 }
 protected override void TestSpecificSetup()
 {
     screenRepository = new ScreenRepository(application.ApplicationSession);
     dashboard = screenRepository.Get<Dashboard>("Dashboard", InitializeOption.NoCache);
 }
 protected override MainScreen GetMainScreen(ScreenRepository screenRepository)
 {
     return(ScreenRepository.Get <MainScreen>("Demo - Custom Message Box", InitializeOption.NoCache));
 }
 private static DummyScreen FindScreen(ScreenRepository screenRepository) {
     return screenRepository.Get<DummyScreen>(delegate { return true; }, InitializeOption.NoCache);
 }