Exemplo n.º 1
0
        //Constructor
        public TestRunnerClass()
        {
            //Step-2 Initialize the Run-Time vars from the Config File
            RunTimeVars.ReadAppConfig();


            //Step-3 Create a reference to the UIMap(s)/Page Object(s)

            //**************************
            // Test Context Section
            //************************
            testContext = new RunTestContext();

            //************************
            // Page Objects Section
            //************************
            adminPrograms            = new AdminPrograms();
            creditHoursTab           = new CreditHoursTab();
            headerPage               = new HeaderPage();
            loginPage                = new LoginPage();
            pageFactoryModel         = new PageFactoryModel();
            parentStudentTab         = new ParentStudentTab();
            providerSearchPage       = new ProviderSearchPage();
            safePage                 = new SafePage();
            staffTab                 = new StaffTab();
            studentFinanceSearchPage = new StudentFinanceSearchPage();
            studentSearchPage        = new StudentSearchPage();
            testPage1                = new TestPage1();
            testPage2                = new TestPage2();
            verifyPageTabs           = new VerifyPageTabs();
        } //end Constructor
Exemplo n.º 2
0
        public TestRunnerClass()
        {
            //Step-2 Initialize the Run-Time vars from the Config File
            RunTimeVars.ReadAppConfig();


            //Step-3 Create a reference to the UIMap(s)/Page Object(s)

            //**************************
            // Test Context Section
            //************************
            testContext                = new ProgramTestContext();
            providerApplicationData    = new ProviderApplicationData();
            scholarshipApplicationData = new ScholarshipApplicationData();

            //************************
            // Page Objects Section
            //************************
            adminPrograms             = new AdminPrograms();
            advancedStudentSearchPage = new AdvancedStudentSearchPage();
            applicationTab            = new ApplicationTab();
            commentsHistory           = new CommentsHistoryTab();
            creditHoursTab            = new CreditHoursTab();
            docsTab                   = new DocsTab();
            general                   = new GeneralTab();
            headerPage                = new HeaderPage();
            iepTab                    = new IEPTab();
            loginPage                 = new LoginPage();
            menu                      = new Menu();
            newProviderApplication    = new NewProviderApplication();
            newScholarshipApplication = new NewScholarshipApplication();
            parentGuardianTab         = new ParentGuardianTab();
            parentStudentTab          = new ParentStudentTab();
            personnel                 = new PersonnelTab();
            programSelectionPage      = new ProgramSelectionPage();
            providerSearchPage        = new ProviderSearchPage();
            renewProviderApplication  = new RenewProviderApplication();
            safePage                  = new SafePage();
            servicesTab               = new ServicesTab();
            staffTab                  = new StaffTab();
            statusFlagsTab            = new StatusFlagsTab();
            student                   = new Student();
            studentFinanceSearchPage  = new StudentFinanceSearchPage();
            studentSearchPage         = new StudentSearchPage();
            studentTab                = new StudentTab();
            testPage1                 = new TestPage1();
            testPage2                 = new TestPage2();
            verifyPageTabs            = new VerifyPageTabs();
        } //end Constructor