예제 #1
0
        public void a24_User_Views_Notes_from_Section_Details_33601()
        {
            #region Create New Course And Section And Read Notes

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33601");
            _test.Log(Status.Pass, "New Classroom Course Created");
            Assert.IsTrue(Driver.comparePartialString("The item was created.", ClassroomCoursePage.GetSuccessMessage()));
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            ManageClassroomCoursePage.EnterNotes("Testing Notes");
            ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "Create New Course Section and Event");
            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            Assert.IsTrue(ManageClassroomCoursePage.ScheduleTab());
            ManageClassroomCoursePage.ClickReadNotesButton();
            _test.Log(Status.Pass, "Read Notes Popup Open.");
            ManageClassroomCoursePage.ClickCloseReadNotePopup();
            _test.Log(Status.Pass, "Read Notes Popup Closed.");
            ClassroomCoursePage.DeleteClassroomCourse(classroomcoursetitle + "TC33601");
            #endregion
        }