public void a04_User_can_jump_to_curriculum_content_from_banner_messaging_56247() { CommonSection.Administer.System.DomainsandURLS.Domains(); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); EditSummaryPage.OptionsTab.AutomaticCurriculumnEnrolment("On"); #region Create a general course CommonSection.CreateGeneralCourse(GeneralCourseTitle + "_TC56247"); DocumentPage.ClickButton_CheckIn(); #endregion #region Create a curriculum CommonSection.CreteNewCurriculumn(curriculamtitle + "_TC56247"); _test.Log(Status.Info, "Create A new Curriculum"); ContentDetailsPage.ClickCurriculumContentEditButton(); CurriculumContentPage.ClickAddCurriculumBlock(); CurriculumContentPage.AddCurriculumBlock.AddBlockAs(block + "_UnOrdered" + "_TC56247"); CurriculumContentPage.AddTrainingActivities_UnOrdered(GeneralCourseTitle + "_TC56247"); DocumentPage.ClickButton_CheckIn(); #endregion CommonSection.SearchCatalog(curriculamtitle + "_TC56247"); _test.Log(Status.Info, "Enter curriculum title in global search box"); SearchResultsPage.ClickCourseTitle(curriculamtitle + "_TC56247"); _test.Log(Status.Info, "Click on search result from catalog"); Assert.IsTrue(ContentDetailsPage.ContentBanner.isViewContentButtonDisplay()); Assert.IsTrue(ContentDetailsPage.ContentBanner.iscompleteitemmessage("Complete 1 required item(s)")); //AC2 CommonSection.Administer.System.DomainsandURLS.Domains(); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); EditSummaryPage.OptionsTab.AutomaticCurriculumnEnrolment("Off"); }
public void tc_62150_Self_Registration_and_Public_Catalog_Setting_controls_all_user_account_creation() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.Administer.System.DomainsandURLS.Domains(); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); _test.Log(Status.Info, "Navigate to option tab"); Assert.IsTrue(EditConfigurationOptionsPage.isSeftRegistrationisOn()); EditConfigurationOptionsPage.SetSeftRegistration("Off"); Assert.IsTrue(EditConfigurationOptionsPage.isPublicCatalogYes()); EditConfigurationOptionsPage.SetPublicCatalog("No"); EditConfigurationOptionsPage.ClickSave(); CommonSection.Logout(); Assert.IsFalse(LoginPage.isSignupLisnkdisplay()); Assert.IsFalse(LoginPage.isBrowsePublicCatalog()); _test.Log(Status.Pass, "Verify both sign up and Public catalog link is not present"); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.Administer.System.DomainsandURLS.Domains(); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); _test.Log(Status.Info, "Navigate to option tab"); Assert.IsFalse(EditConfigurationOptionsPage.isSeftRegistrationisOn()); EditConfigurationOptionsPage.SetSeftRegistration("On"); EditConfigurationOptionsPage.SetPublicCatalog("Yes"); EditConfigurationOptionsPage.ClickSave(); }
public void tc_63230_As_an_admin_I_want_to_enable_content_level_editing_for_system_emails_Domain_Setting() { 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"); Contentlevelseting = EditConfigurationOptionsPage.EditConfigurationTab.Contentleveleditingforsystememailsisselected(); EditConfigurationOptionsPage.EditConfigurationTab.SetContentleveleditingforsystememailsisOn(Contentlevelseting); _test.Log(Status.Info, "Set Contnt level emaol editing option to oposite of variable : Contentlevelseting"); EditConfigurationOptionsPage.EditConfigurationTab.ClickSave(); Contentlevelseting = EditConfigurationOptionsPage.EditConfigurationTab.Contentleveleditingforsystememailsisselected(); EditConfigurationOptionsPage.EditConfigurationTab.ClickReturn(); _test.Log(Status.Info, "Click return"); 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.Contentleveleditingforsystememailsisselected() == Contentlevelseting); _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option setting is no which doesn't mathch with prior one"); EditConfigurationOptionsPage.EditConfigurationTab.SetContentleveleditingforsystememailsisOn(Contentlevelseting); _test.Log(Status.Info, "Set Contnt level emaol editing option to oposite of variable : Contentlevelseting"); EditConfigurationOptionsPage.EditConfigurationTab.ClickSave(); TC63231 = true; }
public void a15_NYDOH_Payment_Type_in_Domain_Console_34822() { //login as admin CommonSection.Administer.System.DomainsandURLS.Domains(); _test.Log(Status.Info, "Navigate to Administer >> System >> Domains and URLs >> Domains"); DomainsPage.ClickDomainLink("Meridian Global-Core Domain"); _test.Log(Status.Info, "Click on Core Doamain link"); Assert.IsTrue(EditSummaryPage.SummaryTab.PaymentTypesSection.isNYDOHChecked()); _test.Log(Status.Pass, "Verify NYDOH Payment option is checked"); }
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_61680_As_an_admin_I_want_to_set_default_organization_for_Self_registration() { CommonSection.Administer.System.DomainsandURLS.Domains(); DomainsPage.ClickDomainLink("Meridian Global"); EditSummaryPage.ClickOptionsTab(); _test.Log(Status.Info, "Navigate to option tab"); EditConfigurationOptionsPage.EditConfigurationTab.ClickOrgResetLink(); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isDefaultOrganization("None")); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isSelectbuttonisdisplay()); EditConfigurationOptionsPage.EditConfigurationTab.ClickSelect(); Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isSelectOrganizationWindowOpen()); EditConfigurationOptionsPage.EditConfigurationTab.SelectOrganizationWindow.SelectOrg("Sample"); //Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isOrgResetLinkdisplay()); //EditConfigurationOptionsPage.EditConfigurationTab.ClickOrgResetLink(); EditSummaryPage.OptionsTab.Save(); }
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_60898_As_an_Admin_I_want_to_configure_my_domain_to_auto_approve_development_plans() { CommonSection.Administer.System.DomainsandURLS.Domains(); _test.Log(Status.Info, "Navigate to Administer >> System >> Domains and URLs >> Domains"); DomainsPage.ClickDomainLink("Meridian Global-Core Domain"); _test.Log(Status.Info, "Click on Core Doamain link"); EditSummaryPage.ClickOptionsTab(); Assert.IsTrue(EditSummaryPage.OptionsTab.isAutoApproveDevelopmentPlan("No")); _test.Log(Status.Pass, "Verify Auto Approve Development Plan is No"); EditSummaryPage.OptionsTab.SetAutoApproveDevelopmentPlan("Yes"); EditSummaryPage.ClickSavebutton(); CommonSection.Administer.System.DomainsandURLS.Domains(); _test.Log(Status.Info, "Navigate to Administer >> System >> Domains and URLs >> Domains"); DomainsPage.ClickDomainLink("Meridian Global-Core Domain"); _test.Log(Status.Info, "Click on Core Doamain link"); EditSummaryPage.ClickOptionsTab(); Assert.IsTrue(EditSummaryPage.OptionsTab.isAutoApproveDevelopmentPlan("Yes")); _test.Log(Status.Pass, "Verify Auto Approve Development Plan is Yes"); EditSummaryPage.OptionsTab.SetAutoApproveDevelopmentPlan("No"); EditSummaryPage.ClickSavebutton(); }