public void tc_63389_Admin_provides_permission_to_Instructor_and_Instructor_review_notification_for_Classroom_sections() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); _test.Log(Status.Info, "Login as Admin"); CommonSection.SearchCatalog('"' + classroomcoursetitle + "_TC63322" + '"'); SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "_TC63322"); ContentDetailsPage.ClickEditContent_New19_2(); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.ClickSectionTitle("Section1"); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.clickSectionDetailsTab(); SectionDetailsPage.SectionDetailsTab.ClickEditPermissions(); Assert.IsTrue(SectionDetailsPage.SectionDetailsTab.Permissions.isInheritcoursepermissionsisChecked()); _test.Log(Status.Pass, "Verify In the section permission edit page In herit course permissions is checked"); SectionDetailsPage.SectionDetailsTab.Permissions.UnCheckInheritcoursepermissions(); Assert.IsTrue(SectionDetailsPage.SectionDetailsTab.Permissions.isAssignPermissionsButtonDisplay()); SectionDetailsPage.SectionDetailsTab.Permissions.ClickAssignPermissions(); SectionDetailsPage.SectionDetailsTab.Permissions.AssignPermissions("Somnath1"); Assert.IsTrue(SectionDetailsPage.SectionDetailsTab.Permissions.isInheritcoursepermissionsisChecked()); _test.Log(Status.Pass, "Verify In the section permission edit page In herit course permissions is checked"); SectionDetailsPage.SectionDetailsTab.Permissions.UnCheckInheritcoursepermissions(); SectionDetailsPage.SectionDetailsTab.Permissions.ClickSave(); CommonSection.Logout(); LoginPage.LoginAs("Somnath1_learner").WithPassword("").Login(); _test.Log(Status.Info, "Login as classroom instructor"); CommonSection.Manage.Training(); _test.Log(Status.Info, "Navigate to manage >> Training "); TrainingPage.QuickLinks.ClickInstructorTools(); _test.Log(Status.Info, "Click Instructor tools link from Quick link portlet "); InstructorToolsPage.TeachingScheduleTab.ClickExpandIcon(classroomcoursetitle + "_TC63322"); _test.Log(Status.Info, "Expand the classroom course "); InstructorToolsPage.TeachingScheduleTab.Enrollment.ClickManageGradebook(classroomcoursetitle + "_TC63322"); _test.Log(Status.Info, "Click Manage Gradebook link on Instructor tool page"); Assert.IsTrue(GradebookPage.GradebookTabDisplay()); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display Now"); SectionDetailsPage.ClickNotificationTab(); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.EmailTable.Actions.SendTestEmail(); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.Actions.isSendTestEmailModaldisplay()); _test.Log(Status.Pass, "Verify Send Test Email modal display"); SectionDetailsPage.NotificationTab.EmailTable.Actions.CancelSendTestEmail(); SectionDetailsPage.NotificationTab.EmailTable.Actions.SendTestEmail(); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.Actions.isSendTestEmailModaldisplay()); _test.Log(Status.Pass, "Verify Send Test Email modal display"); SectionDetailsPage.NotificationTab.EmailTable.Actions.SendTestEmailtoUser(); Assert.IsTrue(Driver.comparePartialString("The test email was sent.", driver.getSuccessMessage())); _test.Log(Status.Pass, "Successful message matched "); TC63434 = true; }