public void tc_63322_As_Domain_Admin_I_want_to_review_notification_for_Classroom_sections() { #region Create a classroom course and add multiple section having cost without cost //CommonSection.CreateLink.ClassroomCourse(); ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63322"); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.SelectAddDayEventCheckbox(); ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); _test.Log(Status.Info, "Set enrollment Start date to one day less from current date"); ManageClassroomCoursePage.ClickSelectInstructorButton(); ManageClassroomCoursePage.SelectInstructorModal.SearchInstructor("Somnath1"); _test.Log(Status.Info, "Search any instructor in Select Instructor Modal"); ManageClassroomCoursePage.SelectInstructorModal.SelectandClickSet(); _test.Log(Status.Info, "Select searched instructor and Click on Set"); ManageClassroomCoursePage.EnterMaximum("2"); ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Clcik create button"); #endregion Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.inactiveEmailDisplay()); _test.Log(Status.Pass, "Verify inactive Email are not visible here"); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.Columnheader("Email Title", "Trigger", "On/Off", "Action", "Info")); _test.Log(Status.Pass, "Verify Email Table column headers"); TC63268 = true; }
public void tc_63393_As_a_Domain_Admin_I_want_to_send_test_email() { 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.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); 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"); TC63391 = true; }
public void tc_63928_As_a_Course_manager_I_want_to_preview_an_email_for_Classroom_sections() { CommonSection.Logout(); LoginPage.LoginAs("srcoursemanager").WithPassword("password").Login(); 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.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.isPreviewButtondisplay()); EditEmailPage.ClickPreviewbutton(); Assert.IsTrue(EditEmailPage.isPreviewEmailModalOpen()); Assert.IsTrue(EditEmailPage.PreviewEmailModal.isEmailTiteldisplay()); EditEmailPage.PreviewEmailModal.ClickClose(); Assert.IsFalse(EditEmailPage.isPreviewButtondisplay()); _test.Log(Status.Pass, "Verify Preview Email Modal is Closed"); }
public void tc_63932_As_a_siteadmin_I_want_to_edit_an_email_notification() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.Administer.System.DomainsandURLS.Domains(); _test.Log(Status.Info, "As an Admin navigate to System >> Domains"); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); _test.Log(Status.Info, "Navigate to option tab"); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay()); _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display"); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isContentleveleditingforsystememailsisOn()); ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63932"); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.SelectAddDayEventCheckbox(); ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); _test.Log(Status.Info, "Set enrollment Start date to one day less from current date"); ManageClassroomCoursePage.EnterMaximum("2"); ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Clcik create button"); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.isPreviewButtondisplay()); string actualEmailTitle = EditEmailPage.getEmailTitle(); EditEmailPage.UpdateEmailTitle(actualEmailTitle + "test"); string Actualsubject = EditEmailPage.getSubjectText(); EditEmailPage.UpdateSubject(Actualsubject + "test"); EditEmailPage.ClickSave(); _test.Log(Status.Info, "Click Save"); EditEmailPage.clickBreadcrumb("Notifications"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.getEmailTitle().Equals(actualEmailTitle + "test")); Assert.IsTrue(EditEmailPage.getSubjectText().Equals(Actualsubject + "test")); _test.Log(Status.Pass, "Verify Changes are retained"); TC63930 = true; }
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; }
public void tc_63430_As_a_Course_Manager_I_want_to_turn_an_email_notification_On_Off() { Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.EmailTable.TurnoffFirstEmail(); Assert.IsTrue(Driver.comparePartialString("Success The changes were saved.×", driver.getSuccessMessage())); _test.Log(Status.Pass, "Successful message matched "); }
public void tc_63931_As_a_Course_manager_I_want_to_edit_an_email_notification() { CommonSection.SearchCatalog('"' + classroomcoursetitle + "_TC63322" + '"'); SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "_TC63322"); ContentDetailsPage.ClickEditContent_New19_2(); ContentDetailsPage.Accordians.ClickEdit_Permissions(); EditPermissionsPage.clickAssignPermission(); _test.Log(Status.Info, "Click Assign Permission"); EditPermissionsPage.AssignPermissionTo("somnath course manager"); CommonSection.Logout(); LoginPage.LoginAs("srcoursemanager").WithPassword("password").Login(); 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.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.isPreviewButtondisplay()); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.isPreviewButtondisplay()); string actualEmailTitle = EditEmailPage.getEmailTitle(); EditEmailPage.UpdateEmailTitle(actualEmailTitle + "test"); string Actualsubject = EditEmailPage.getSubjectText(); EditEmailPage.UpdateSubject(Actualsubject + "test"); EditEmailPage.ClickSave(); _test.Log(Status.Info, "Click Save"); EditEmailPage.clickBreadcrumb("Notifications"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.getEmailTitle().Equals(actualEmailTitle + "test")); Assert.IsTrue(EditEmailPage.getSubjectText().Equals(Actualsubject + "test")); _test.Log(Status.Pass, "Verify Changes are retained"); }
public void tc_63363_As_an_Instructor_I_want_to_review_notification_for_Classroom_sections_where_it_is_not_available_to_me_by_default() { 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.IsFalse(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is not display"); }
public void tc_63431_As_an_admin_I_want_to_turn_an_email_notification_On_Off() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.Administer.System.DomainsandURLS.Domains(); _test.Log(Status.Info, "As an Admin navigate to System >> Domains"); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); _test.Log(Status.Info, "Navigate to option tab"); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay()); _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display"); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isContentleveleditingforsystememailsisOn()); ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63431"); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.SelectAddDayEventCheckbox(); ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); _test.Log(Status.Info, "Set enrollment Start date to one day less from current date"); ManageClassroomCoursePage.ClickSelectInstructorButton(); ManageClassroomCoursePage.SelectInstructorModal.SearchInstructor("Somnath1"); _test.Log(Status.Info, "Search any instructor in Select Instructor Modal"); ManageClassroomCoursePage.SelectInstructorModal.SelectandClickSet(); _test.Log(Status.Info, "Select searched instructor and Click on Set"); ManageClassroomCoursePage.EnterMaximum("2"); ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Clcik create button"); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.EmailTable.TurnoffFirstEmail(); Assert.IsTrue(Driver.comparePartialString("Success The changes were saved.×", driver.getSuccessMessage())); _test.Log(Status.Pass, "Successful message matched "); TC63433 = true; }
public void tc_63321_As_course_manager_I_want_to_review_notification_for_Classroom_sections() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.SearchCatalog('"' + classroomcoursetitle + "_TC63322" + '"'); SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "_TC63322"); ContentDetailsPage.ClickEditContent_New19_2(); ContentDetailsPage.Accordians.ClickEdit_Permissions(); EditPermissionsPage.clickAssignPermission(); _test.Log(Status.Info, "Click Assign Permission"); EditPermissionsPage.AssignPermissionTo("somnath course manager"); CommonSection.Logout(); LoginPage.LoginAs("srcoursemanager").WithPassword("password").Login(); CommonSection.SearchCatalog('"' + classroomcoursetitle + "_TC63322" + '"'); SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "_TC63322"); ContentDetailsPage.ClickEditContent_New19_2(); ManageClassroomCoursePage.Clicktab("Sections"); //create new section ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.SelectAddDayEventCheckbox(); ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); _test.Log(Status.Info, "Set enrollment Start date to one day less from current date"); ManageClassroomCoursePage.EnterMaximum("2"); ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Clcik create button"); //ManageClassroomCoursePage.ClickSectionTitle("Section1"); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.inactiveEmailDisplay()); _test.Log(Status.Pass, "Verify inactive Email are not visible here"); Assert.IsTrue(SectionDetailsPage.NotificationTab.EmailTable.Columnheader("Email Title", "Trigger", "On/Off", "Action", "Info")); _test.Log(Status.Pass, "Verify Email Table column headers"); }
public void tc_63927_As_an_admin_I_want_to_preview_an_email_for_Classroom_sections() { ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63927"); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.SelectAddDayEventCheckbox(); ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); _test.Log(Status.Info, "Set enrollment Start date to one day less from current date"); ManageClassroomCoursePage.EnterMaximum("2"); ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Clcik create button"); Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay()); _test.Log(Status.Pass, "Verify Notification tab is display"); SectionDetailsPage.ClickNotificationTab(); _test.Log(Status.Info, "Click Notification tab"); Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay()); _test.Log(Status.Pass, "Verify Email table display in Notification tab"); SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord"); Assert.IsTrue(Driver.checkTitle("Edit Email")); _test.Log(Status.Pass, "Verify Edit Email page display"); Assert.IsTrue(EditEmailPage.isPreviewButtondisplay()); EditEmailPage.ClickPreviewbutton(); Assert.IsTrue(EditEmailPage.isPreviewEmailModalOpen()); Assert.IsTrue(EditEmailPage.PreviewEmailModal.isEmailTiteldisplay()); EditEmailPage.PreviewEmailModal.ClickClose(); Assert.IsFalse(EditEmailPage.isPreviewButtondisplay()); _test.Log(Status.Pass, "Verify Preview Email Modal is Closed"); EditEmailPage.clickBreadcrumb(classroomcoursetitle + "_TC63927"); ContentDetailsPage.Accordians.ClickEdit_Permissions(); EditPermissionsPage.clickAssignPermission(); _test.Log(Status.Info, "Click Assign Permission"); EditPermissionsPage.AssignPermissionTo("somnath course manager"); TC63929 = true; }