Пример #1
0
        public void CreateClassUsingMasterLibraryCourse(Course.CourseTypeEnum courseTypeEnum)
        {
            //Create Class Using MasterLibrary Course
            Logger.LogMethodEntry("CreateClass", "CreateClassUsingMasterLibraryCourse",
                                  base.IsTakeScreenShotDuringEntryExit);
            //Get the Template Name From Memory
            Course course = Course.Get(courseTypeEnum);
            //Declaration Page Class Object
            ClassUserControlsPage classUserControlsPage = new ClassUserControlsPage();

            //Create Class Using Template
            classUserControlsPage.CreateClassUsingNovanetMasterLibrary(course.Name);
            Logger.LogMethodExit("CreateClass", "CreateClassUsingMasterLibraryCourse",
                                 base.IsTakeScreenShotDuringEntryExit);
        }
Пример #2
0
        public void SelectTheUserFromCreateClassWindow()
        {
            //Select The User From Create Class Window.
            Logger.LogMethodEntry("CreateClass",
                                  "SelectTheUserFromCreateClassWindow",
                                  base.IsTakeScreenShotDuringEntryExit);
            //Declaration Page Class Object
            ClassUserControlsPage classUserControlsPage = new ClassUserControlsPage();

            //Click The 'Create New' Dropdown
            classUserControlsPage.ClickTheCreateNewDropdown();
            Logger.LogMethodExit("CreateClass",
                                 "SelectTheUserFromCreateClassWindow",
                                 base.IsTakeScreenShotDuringEntryExit);
        }
Пример #3
0
        public void CreateClassUsingTemplate(
            Course.CourseTypeEnum courseTypeEnum)
        {
            //Create Class Using Template.
            Logger.LogMethodEntry("CreateClass", "CreateClassUsingTemplate",
                                  base.IsTakeScreenShotDuringEntryExit);
            //Get the Template Name From Memory
            Course course = Course.Get(courseTypeEnum);
            //Declaration Page Class Object
            ClassUserControlsPage classUserControlsPage = new ClassUserControlsPage();

            //Create Class Using Template
            classUserControlsPage.CreateClassUsingTemplate(course.TemplateName);
            //Click the Finish Button
            classUserControlsPage.ClickTheCreateClassFinishButton();
            Logger.LogMethodExit("CreateClass", "CreateClassUsingTemplate",
                                 base.IsTakeScreenShotDuringEntryExit);
        }