public void tc_63421_Classroom_Attendance_and_progress_Multi_Event_with_no_Items_in_gradebook()
        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63421");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section with Recurring");
            ManageClassroomCoursePage.setRecurence("Daily");
            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.isGradebookAndAttendanceTabDisplay());
            _test.Log(Status.Pass, "Verify Gradebook and Attendance tab display");
            Assert.IsTrue(ManageClassroomCoursePage.Enrollment());
            ManageClassroomCoursePage.ClickEnrollmentTab();
            ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
            ManageClassroomCoursePage.BatchEnrollUserModal.EnrollUser("somnath");
            _test.Log(Status.Pass, "User Enrolled into select course successfully ");
            SectionDetailsPage.ClickGradebookTab();
            Assert.IsFalse(SectionDetailsPage.GradebookTab.isGradesSubTabDisplay());
            _test.Log(Status.Pass, "Verify Grades Sub Tab is not display in Gradebook and Attendance tab");
            Assert.IsTrue(SectionDetailsPage.GradebookTab.UserListGrid.Verify_ColumnHeaderforRecevent());

            Assert.IsTrue(SectionDetailsPage.GradebookTab.isPaginationdisplay());
            _test.Log(Status.Pass, "Verify is Pagination display");
        }
 public void tc_63420_Classroom_Attendance_and_progress_Single_Event_Admin()
 {
     ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63420");
     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.isGradebookAndAttendanceTabDisplay());
     _test.Log(Status.Pass, "Verify Gradebook and Attendance tab display");
     Assert.IsTrue(ManageClassroomCoursePage.Enrollment());
     ManageClassroomCoursePage.ClickEnrollmentTab();
     ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
     ManageClassroomCoursePage.BatchEnrollUserModal.EnrollUser("somnath");
     _test.Log(Status.Pass, "User Enrolled into select course successfully ");
     SectionDetailsPage.ClickGradebookTab();
     Assert.IsFalse(SectionDetailsPage.GradebookTab.isGradesSubTabDisplay());
     _test.Log(Status.Pass, "Verify Grades Sub Tab is not display in Gradebook and Attendance tab");
     Assert.IsTrue(SectionDetailsPage.GradebookTab.UserListGrid.Verify_ColumnHeader());
     Assert.IsTrue(SectionDetailsPage.GradebookTab.UserListGrid.Verify_AttendanceSubTab("All Attended", " All Absent"));
     _test.Log(Status.Pass, "Verify All Attended and all Absent link display in Attendace culumn header");
     SectionDetailsPage.GradebookTab.UserListGrid.ClickAllAttended();
     Assert.IsTrue(Driver.comparePartialString("Success The information was updated.×", driver.getSuccessMessage()));
     _test.Log(Status.Pass, "Successful message matched ");
     SectionDetailsPage.GradebookTab.UserListGrid.ClickAllAbsent();
     Assert.IsTrue(Driver.comparePartialString("Success The information was updated.×", driver.getSuccessMessage()));
     _test.Log(Status.Pass, "Successful message matched ");
 }
        public void A04_Test_AccessKeys_Accordian_For_ClassroomCourse_35813()
        {
            #region Create Classroom Course with Cost and Access Keys
            CommonSection.CreateLink.ClassroomCourse();
            _test.Log(Status.Info, "Opened Create Classroom Course Page");
            classroomcourse.populateClassroomform(ExtractDataExcel.MasterDic_classrommcourse["Title"] + "Create" + browserstr, ExtractDataExcel.MasterDic_classrommcourse["Desc"]);
            _test.Log(Status.Info, "Filled all required information and submit the classroom creation page");
            classroomcourse.buttonsaveclick();
            _test.Log(Status.Pass, "Verify Classroom Course saved");
            Assert.IsTrue(Driver.Instance.IsElementVisible(By.XPath("//a[@id='MainContent_MainContent_ucAccessCodes_lnkEdit']")));
            _test.Log(Status.Pass, "Access Keys According displaying for classroom course");
            Assert.IsTrue(ClassroomCoursePage.enableAccessKeys());
            _test.Log(Status.Info, "Access Keys Enabled for classroom course");
            GeneralCoursePage.setCost("5");
            _test.Log(Status.Info, "Cost Has Been Set");
            #endregion

            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            _test.Log(Status.Pass, "Enter Section Title and Capacity");
            ManageClassroomCoursePage.SelectWaitListasYes();
            Assert.IsTrue(ManageClassroomCoursePage.setAvailable_for_Purchase());
            _test.Log(Status.Pass, "Availability for purchase detail for access keys has been set");
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Pass, "New Section Created");
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "Classroom Course Section Created With Access Keys Enabled");
        }
        public void tc_63319_As_admin_verify_the_Timeline_Schedule_and_Content_tab_Non_Recurring_Events()
        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63319");
            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.isScheduleandContentTabDisplay());
            _test.Log(Status.Pass, "Verify Schedule and Content tab display");
            SectionDetailsPage.ClickScheduleandContentTab();
            Assert.IsTrue(SectionDetailsPage.ScheduleandContentTab.EventCount() >= 1);
            _test.Log(Status.Pass, "Verify Event count should be 1 or more than that");
            Assert.IsTrue(SectionDetailsPage.ScheduleandContentTab.CommitmentDisplay());
            _test.Log(Status.Pass, "Verify Commitment Display in Schedule and Content tab");
            Assert.IsTrue(SectionDetailsPage.ScheduleandContentTab.Commitment.StartandEndDateDisplay());
            _test.Log(Status.Pass, "Verify Commitment Display in Schedule and Content tab");
            SectionDetailsPage.ClickContentTab();
            SectionDetailsPage.ContentTab.SelectAddAssignmentAddContentdropdown("Add Assignment");
            _test.Log(Status.Info, "Select Add Note from Add Content Dropdown");
            SectionDetailsPage.ContentTab.AddAssignmentAs("Graded Assignment");
            Assert.IsTrue(ManageClassroomCoursePage.Click_Gradebook());
            _test.Log(Status.Pass, "Assertion Pass Gradebook is Visible from Section Detail Page");

            SectionDetailsPage.ClickScheduleandContentTab();
            Assert.IsTrue(SectionDetailsPage.ScheduleandContentTab.isPossiblePointdisplay());
            _test.Log(Status.Pass, "Verify Possible Point Display in Schedule and Content tab");
            Assert.IsTrue(SectionDetailsPage.ScheduleandContentTab.isGradedItemsDisplay());
            _test.Log(Status.Pass, "Verify Graded Items Display in Schedule and Content tab");
        }
예제 #5
0
 public void A03_Manage_Content_Page_Redesign_34133()
 {
     #region Creating a Classroom Course Section With Tag
     ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34133");
     _test.Log(Status.Pass, "New Classroom Course Created");
     string expectedtagname = ManageClassroomCoursePage.CreateTags(tagname);
     _test.Log(Status.Info, "Tag Created");
     StringAssert.AreEqualIgnoringCase(tagname, expectedtagname);
     _test.Log(Status.Info, "Assertion Pass as Tag Has been created successfully.");
     ManageClassroomCoursePage.Clicktab("Sections");
     _test.Log(Status.Info, "Clcik on Sections Tab");
     ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
     _test.Log(Status.Info, "Click on Add New section");
     ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
     ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
     ManageClassroomCoursePage.SelectWaitListasYes();
     ManageClassroomCoursePage.CreateSection.Create();
     _test.Log(Status.Info, "Click on Create button");
     Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
     _test.Log(Status.Pass, "Verify Section1 is created");
     #endregion
     CommonSection.Manage.Training();
     ManageContentPage.allSearch();
     _test.Log(Status.Info, "Blank Search in Manage Content Page From Portlet");
     Assert.IsTrue(ManageContentPage.search_WithingManageContentPage(classroomcoursetitle + "TC34133"));
     _test.Log(Status.Pass, "Assertion Pass as Content search within Manage Content is Working Fine");
     string pagetitle = ManageContentPage.verifyElements();
     _test.Log(Status.Pass, "Assertion Pass as Manage Content Elements have been verified");
     StringAssert.AreEqualIgnoringCase("Manage Content", pagetitle);
     _test.Log(Status.Pass, "Assertion Pass as Manage Content Page Title Verified");
     TC_34132 = true;
 }
예제 #6
0
 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 a11_User_views_event_date_time_recurrence_format_on_Catalog_Expanded_Classroom_Course_where_section_with_Multiple_Events_34754()
        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34754");
            _test.Log(Status.Info, "New Classroom Course Created");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.setRecurence("MonthlySDR");
            ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            // ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Click on Create Button on Create Section Page");
            ManageClassroomCoursePage.ClickSectionTab();
            ManageClassroomCoursePage.ClickSectionTitle("Section1");
            SectionDetailsPage.ClickScehduleTab();
            _test.Log(Status.Info, "Click on Schedule tab page");
            SectionDetailsPage.ScheduleTab.ClickCreateNewEvent();
            CreateNewEvent.ScheduleTab.CreateNewEvent("Dally");
            CommonSection.CatalogSearchText('"' + classroomcoursetitle + "TC34754" + '"');

            SearchResultsPage.ListofSearchResults.ExpandSections();
            Assert.IsTrue(SearchResultsPage.ListofSearchResults.VerifyTextonEventPortlet("MultipleEvents"));
            _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
            SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "TC34754");
            Assert.IsTrue(ContentDetailsPage.ScheduledCourse.VerifyMiddleColumnText("MultipleEvents"));
            _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
            ContentDetailsPage.ScheduledCourse.ClickExpandRowicon();
            Assert.IsTrue(ContentDetailsPage.ExpandedScheduledCourse.VerifyEventScheduleText("MultipleEvents"));
            _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
        }
예제 #8
0
 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 a03_User_views_event_date_time_recurrence_format_on_Catalog_Expanded_Classroom_Course_where_section_has_All_Day_Event_without_Recurrence_34745()
 {
     ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34745");
     _test.Log(Status.Info, "New Classroom Course Created");
     ManageClassroomCoursePage.Clicktab("Sections");
     ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
     CreateNewCourseSectionAndEventPage.SectionTitleAs("Section1");
     ManageClassroomCoursePage.SelectAddDayEventCheckbox();
     //CreateNewCourseSectionAndEventPage.SchedulePortlet.AllDayevent("Yes");
     _test.Log(Status.Info, "Set All day event toggle as Yes");
     // ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
     ManageClassroomCoursePage.SelectWaitListasYes();
     ManageClassroomCoursePage.CreateSection.Create();
     _test.Log(Status.Info, "Click on Create Button on Create Section Page");
     CommonSection.CatalogSearchText('"' + classroomcoursetitle + "TC34745" + '"');
     SearchResultsPage.ListofSearchResults.ExpandSections();
     Assert.IsTrue(SearchResultsPage.ListofSearchResults.VerifyTextonEventPortlet("AllDay"));
     _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
     SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "TC34745");
     Assert.IsTrue(ContentDetailsPage.ScheduledCourse.VerifyMiddleColumnText("AllDay"));
     _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
     ContentDetailsPage.ScheduledCourse.ClickExpandRowicon();
     Assert.IsTrue(ContentDetailsPage.ExpandedScheduledCourse.VerifyEventScheduleText("AllDay"));
     _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
     ManageClassroomCoursePage.DeleteContent(classroomcoursetitle + "TC34745");
 }
        public void tc_33782_User_Views_Gradebook_via_Teaching_Schedule_Tab_33782()
        {
            #region create new course and Access The Gradebook From Teaching Schedule
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33782");
            _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(SectionTitle + "TC33782");
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            ManageClassroomCoursePage.SelectUseWaitlist("");
            ManageClassroomCoursePage.SelectInstructor();
            ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink(SectionTitle + "TC33782"));
            _test.Log(Status.Pass, "Create New Course Section and Event");

            #endregion
            CommonSection.Manage.Training();
            CommonSection.Manage.TrainingPage.InstructorTool();
            Assert.IsTrue(InstructorsPage.Expand_SectionDetail());
            _test.Log(Status.Pass, "Assertion Pass Manage Gradebook Button is Visible");

            Assert.IsTrue(SectionDetailsPage.isGradebookAndAttendanceTabDisplay());
            _test.Log(Status.Pass, "Verify Gradebook and Attendance tab display");
            Assert.IsFalse(SectionDetailsPage.GradebookTab.isGradesSubTabDisplay());
            _test.Log(Status.Pass, "Verify Grades Sub Tab display in Gradebook and Attendance tab");
            //Assert.IsTrue(ManageClassroomCoursePage.Verify_GradebookGrid());
            //_test.Log(Status.Pass, "Assertion Pass Gradebook accessible Available from Instructor Tool Training Schedule");
        }
예제 #11
0
        public void a22_Enroll_User_In_A_Paid_Section_33597()
        {
            #region Create A Paid Classroom Course Section

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33597");
            _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.SetEnrollmentStartsDate(3);
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("30");
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");

            ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "Create New Course Section and Event");
            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            ManageClassroomCoursePage.SectionDetailTab();
            ManageClassroomCoursePage.setCostForSection();
            #endregion

            ManageClassroomCoursePage.SearchForContent(classroomcoursetitle + "TC33597");
            _test.Log(Status.Pass, "Search For Classroom Course");
            ClassroomCourseDetailsPage.addToCart();
            _test.Log(Status.Pass, "User Purchasing The Classroom Course");
            ManageClassroomCoursePage.SearchForContent(classroomcoursetitle + "TC33597");
            Assert.IsTrue(ClassroomCourseDetailsPage.verifyEnrollment());
            _test.Log(Status.Pass, "Assertion Pass : User Successfully Purchased Classroom Course and Enrolled");
            ClassroomCoursePage.DeleteClassroomCourse(classroomcoursetitle + "TC33597");
        }
예제 #12
0
        public void b15_As_Course_Manager_View_Files_And_Notes_For_Classroom_Section_33931()

        {
            CommonSection.Logout();
            LoginPage.LoginAs("somnath1_learner").WithPassword("").Login(); //Login as Course Manager
            #region Manage Classroom Course
            CommonSection.Manage.Training();

            TrainingPage.ManageContentPortlet.SearchForContent(classroomcoursetitle + "TC34067");
            // StringAssert.AreEqualIgnoringCase(classroomcoursetitle + "TC34067", SearchResultsPage.GetSuccessMessage(), "Error message is different");//verify  text
            TrainingPage.ClickSearchRecord(classroomcoursetitle + "TC34067");
            // StringAssert.AreEqualIgnoringCase(classroomcoursetitle + "TC34067", ClassroomCoursePage.GetSuccessMessage(), "Error message is different");//verify  text
            ManageClassroomCoursePage.Clicktab("Sections");
            _test.Log(Status.Info, "Clcik on Sections Tab");
            #endregion
            SectionsPage.ListofSections.ClickSectionTitle();
            // Assert.IsTrue(SectionDetailsPage);
            SectionDetailsPage.ClickContentTab();
            _test.Log(Status.Pass, "Verify Content tab is display");
            // Assert.IsTrue(SectionContentPage);
            Assert.IsTrue(ContentPage.ContentTab.ListFirstNotesdisplay());
            _test.Log(Status.Pass, "Verify Note is display");//Verify Files and Notes page for the sections is displayed with associated Notes and Files
            ContentPage.ContentTab.ClickAssignmentTitle();
            Assert.IsTrue(ContentPage.ContentTab.AddNoteModaldisplay());
            _test.Log(Status.Pass, "Add Note Modal is opened");// Verify the File opens and can be viewed
        }
예제 #13
0
        public void a23_Admin_User_Search_For_Learner_From_Section_Enrollment_Tab_33599()
        {
            #region Create A Classroom Course Section And Enroll Multiple Users Into It

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33599");
            _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.SetEnrollmentStartsDate(3);
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("30");
            ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.CreateSection.Create();
            #endregion
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "Create New Course Section and Event");
            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            Assert.IsTrue(ManageClassroomCoursePage.Enrollment());
            ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
            ManageClassroomCoursePage.BatchEnrollUserModal.EnrollUser("Site Administrator");
            //Assert.IsTrue(Driver.comparePartialString("Success", ManageClassroomCoursePage.GetUpdatedSuccessMessage()));
            _test.Log(Status.Pass, "User Enrolled into select course successfully ");
            string enrolleduserName = ManageClassroomCoursePage.Enrollmenttab.EnrolledUserName();
            ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
            ManageClassroomCoursePage.SelectMultipleUsers();

            Assert.IsTrue(ManageClassroomCoursePage.SearchForEnrolledUser("Site Administrator")); //"Regression0403012001people"
            _test.Log(Status.Pass, "Search Result Displayed");
            ClassroomCoursePage.DeleteClassroomCourse(classroomcoursetitle + "TC33599");
        }
예제 #14
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
        }
예제 #15
0
        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 a01_Copy_Section_Including_Section_Content_and_Gradebook_34724()
        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34724");
            _test.Log(Status.Info, "New Classroom Course Created");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            //ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Click on Create Button on Create Section Page");
            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            SectionDetailsPage.ClickContentTab();
            SectionDetailsPage.ContentTab.SelectAddAssignmentAddContentdropdown("Add Assignment");
            _test.Log(Status.Info, "Select Add Note from Add Content Dropdown");
            SectionDetailsPage.ContentTab.AddAssignmentAs("Graded Assignment");
            Assert.IsTrue(ManageClassroomCoursePage.Click_Gradebook());
            _test.Log(Status.Pass, "Assertion Pass Gradebook is Visible from Section Detail Page");
            Assert.IsTrue(GradebookPage.GradebookTab.VerifyGradedContent());
            _test.Log(Status.Pass, "User able to grade test");
            SectionsPage.SelectCopySectionformActionDropdown();
            Assert.IsTrue(SectionsPage.CopySectionModal.VerifyCopySectionModalComponets());
            _test.Log(Status.Pass, "Verify Modal Title, Section Start date, Section title and timezone");
            SectionsPage.CopySectionModal.CopywithGradebooktoggle("Yes");
            _test.Log(Status.Info, "Copy new section with Include section content and gradebook toggle option as Yes");
            Assert.IsTrue(Driver.comparePartialString("The classroom section was copied.", SectionsPage.GetFeedbackMessage()));
            _test.Log(Status.Pass, "Verify Successful messasge");

            SectionsPage.ClickSectionTitle("Section1-Copy");
            ManageClassroomCoursePage.Click_Gradebook();
            Assert.IsTrue(GradebookPage.GradebookTab.VerifyGradedContent());
            _test.Log(Status.Pass, "Assertion Pass Gradebook are Available for new section");
        }
예제 #17
0
        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;
        }
예제 #18
0
        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;
        }
예제 #19
0
        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");
        }
        [Test]  //Depend on 34724
        public void a02_Copy_Section_without_Section_Content_and_Gradebook_34725()
        {
            CommonSection.SearchCatalog('"' + classroomcoursetitle + "TC34724" + '"');
            CatalogPage.ClickonSearchedCatalog(classroomcoursetitle + "TC34724");
            ContentDetailsPage.ClickEditContent();
            ManageClassroomCoursePage.Clicktab("Sections");
            SectionsPage.SelectCopySectionformActionDropdown();
            SectionsPage.CopySectionModal.CopywithGradebooktoggle("No");
            _test.Log(Status.Info, "Copy new section with Include section content and gradebook toggle option as Yes");
            SectionsPage.ClickSectionTitle("Section1-Copy-WithNo");
            ManageClassroomCoursePage.Click_Gradebook();
            Assert.IsFalse(GradebookPage.GradebookTab.VerifyGradedContentisNotDisplay());
            _test.Log(Status.Pass, "Assertion Pass Gradebook are not Available for new section");

            ManageClassroomCoursePage.DeleteContent(classroomcoursetitle + "TC34724");
        }
 public void a17_User_views_event_date_time_recurrence_format_Correctly_from_Course_SectionTab_51573()
 {
     ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC51573");
     _test.Log(Status.Info, "New Classroom Course Created");
     ManageClassroomCoursePage.Clicktab("Sections");
     ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
     ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
     ManageClassroomCoursePage.setRecurence("Every Weekday");
     ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
     // ManageClassroomCoursePage.SelectWaitListasYes();
     ManageClassroomCoursePage.CreateSection.Create();
     _test.Log(Status.Info, "Click on Create Button on Create Section Page");
     Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
     Assert.IsTrue(ManageClassroomCoursePage.Sectiontab.VerifyEventScheduleTextforSection("Every Weekday"));
     _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
 }
예제 #22
0
        public void a17_Self_Enroll_in_Classroom_Course_14432()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("siteadmin").WithPassword("").Login();
            #region create new course, add section to it and enroll
            CommonSection.CreateLink.ClassroomCourse();
            _test.Log(Status.Info, "Opened Create Classroom Course Page");
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC14432");
            _test.Log(Status.Info, "New Classroom Course Created");
            Assert.IsTrue(Driver.comparePartialString("The item was created.", ClassroomCoursePage.GetSuccessMessage()));
            _test.Log(Status.Pass, "Verify successful message");
            ManageClassroomCoursePage.Clicktab("Sections");
            _test.Log(Status.Info, "Click on Sections Tab");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            _test.Log(Status.Info, "Click on Add new Section Button");
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            _test.Log(Status.Info, "Filled Title as Section1");
            ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            // ManageClassroomCoursePage.CreateSection.SectionEndTime("");

            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            _test.Log(Status.Info, "Filled Max Capacity to 11");
            ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Click on Create button");
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "New Classroom Course CreatedVerify Section1 link is present on screen");
            //Assert.IsTrue(Driver.comparePartialString("Success", ClassroomCoursePage.GetUpdatedSuccessMessage()));
            // _test.Log(Status.Pass, "Create New Course Section and Event");
            CommonSection.Logout();
            #endregion
            #region Login with a Learner, search classroom course and enroll
            LoginPage.LoginAs("userreg_0403012001people1").WithPassword("").Login();
            _test.Log(Status.Pass, "Login as a Learner");
            CommonSection.Learner.CurrentTraining();
            _test.Log(Status.Info, "Open Current trainging Page");
            CommonSection.SearchCatalog('"' + classroomcoursetitle + "_TC14432" + '"');
            _test.Log(Status.Info, "Search course name as" + classroomcoursetitle + "_TC14432");
            CatalogPage.ClickonSearchedCatalog(classroomcoursetitle + "_TC14432");
            _test.Log(Status.Info, "Click on Course title");
            CatalogPage.EnrollinClassroomCourse();
            _test.Log(Status.Info, "Click Enroll button");
            //Assert.IsTrue(CatalogPage.GetCurrentEnrolledTraining(classroomcoursetitle+ "_TC14432"));
            _test.Log(Status.Pass, "Enrolled classroom course is displaying");
            #endregion
        }
예제 #23
0
        public void a21_Add_Enrollment_Cancelation_Deadline_While_Creating_Section_33513()
        {
            #region Create New Course And Section With Enrollment Cancellation Date

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33513");
            _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.SetEnrollmentCancellationDate();
            ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            _test.Log(Status.Pass, "Create New Course Section and Event with Enrollment Cancellation Date");
            ClassroomCoursePage.DeleteClassroomCourse(classroomcoursetitle + "TC33513");
            #endregion
        }
        public void z02_Classroom_Section_Copy_With_Manual_Enrollment_Start_Date_35669()

        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC35669");
            _test.Log(Status.Info, "New Classroom Course Created");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            // ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Click on Create Button on Create Section Page");
            //  ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            // ManageClassroomCoursePage.Sectiontab.ClickDetails("Section1");
            // string EnrollStartDate = ManageClassroomCoursePage.Sectiontab.SectionDetails.EnrollmentStartDate();
            SectionStartDate = SectionsPage.SectionStartDate();
            // ManageClassroomCoursePage.Sectionsdropdown.CopySection();



            SectionsPage.SelectCopySectionformActionDropdown();
            _test.Log(Status.Info, "Select Copy Section from Mange Enrollment Dropdown Toggle");
            //Assert.IsTrue(SectionsPage.CopySectionModal.VerifyCopySectionModalComponets());
            //_test.Log(Status.Pass, "Verify Modal Title, Section Start date, Section title and timezone");
            Assert.IsTrue(SectionsPage.CopySectionModal.VerifyModalEnrollmentDate(SectionStartDate));
            _test.Log(Status.Pass, "Verify Enrollment Start Date is defaulted to Section Start Date");
            SectionsPage.CopySectionModal.EditSectionTitle("Section2");
            _test.Log(Status.Pass, "Change the Section Title to Section2");
            //SectionsPage.CopySectionModal.EnrollmentStartsToggle("Override");
            Assert.IsTrue(SectionsPage.CopySectionModal.EnrollmentStartsToggle("Override"));
            _test.Log(Status.Info, "Change the Enrollment Start Toggle to Override");
            SectionsPage.CopySectionModal.ChangeEnrollmentStartsDate(1);
            _test.Log(Status.Info, "Change the Enrollment Start Date to before Section Start Date");
            SectionsPage.CopySectionModal.ClickCopy();
            _test.Log(Status.Info, "Click on Copy Button on Copy Section Modal");
            //Assert.IsTrue(Driver.comparePartialString("The classroom section was copied.", SectionsPage.GetFeedbackMessage()));
            //_test.Log(Status.Pass, "Verify Successful messasge");
            ManageClassroomCoursePage.Sectiontab.ClickDetails("Section2");
            Assert.IsTrue(ManageClassroomCoursePage.Sectiontab.VerifySection2Expanded());
            _test.Log(Status.Pass, "Verify Section2 is Expanded");
            SectionStartDate = SectionsPage.CopiedSectionStartDate();

            Assert.IsTrue(ManageClassroomCoursePage.Sectiontab.VerifySection2EnrollmentAndSectionDatesDifferent(SectionStartDate));
            _test.Log(Status.Pass, "Verify Section2 the Enrollment Start Date before the Section Start Date");
        }
예제 #25
0
        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;
        }
예제 #26
0
        public void a14_ENrolluserfromClassroomSection_33230()
        {
            #region create new course, add section to it and enroll

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC33230");
            _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.SectionStartTime("");
            // ManageClassroomCoursePage.CreateSection.SectionEndTime("");

            // ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            ManageClassroomCoursePage.SelectWaitListasYes();
            _test.Log(Status.Info, "Click Waitlist as Yes");
            CreateNewCourseSectionAndEventPage.CreateSection("Section1", DateTime.Now.AddDays(2).ToString("MM/dd/yyyy"), DateTime.Now.AddDays(2).ToString("MM/dd/yyyy"));
            // ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink("Section1"));
            //Assert.IsTrue(Driver.comparePartialString("Success", ClassroomCoursePage.GetUpdatedSuccessMessage()));
            _test.Log(Status.Pass, "Create New Course Section and Event");
            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            Assert.IsTrue(ManageClassroomCoursePage.Enrollment());
            ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
            ManageClassroomCoursePage.BatchEnrollUserModal.EnrollUser("saiflearner");
            //Assert.IsTrue(Driver.comparePartialString("Success", ManageClassroomCoursePage.GetUpdatedSuccessMessage()));
            _test.Log(Status.Pass, "User Enrolled into select course successfully ");
            CommonSection.Logout();
            _test.Log(Status.Pass, "Admin user logged out successfully");
            #endregion

            #region Login with a Learner search created classroom course and enroll
            LoginPage.LoginAs("saiflearner").WithPassword("").Login();
            _test.Log(Status.Pass, "Login as a Learner");
            CommonSection.Learner.CurrentTraining();
            CommonSection.SearchCatalog('"' + classroomcoursetitle + "TC33230" + '"');
            CatalogPage.ClickonSearchedCatalog(classroomcoursetitle + "TC33230");

            Assert.IsTrue(CatalogPage.GetCurrentEnrolledTraining(classroomcoursetitle + "TC33230"));
            _test.Log(Status.Pass, "Enrolled classroom course is displaying");
            #endregion
        }
 public void a16_User_views_event_date_time_recurrence_format_Correctly_from_Manage_Training_Expanded_Course_51578()
 {
     ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC51578");
     _test.Log(Status.Info, "New Classroom Course Created");
     ManageClassroomCoursePage.Clicktab("Sections");
     ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
     ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
     ManageClassroomCoursePage.setRecurence("Every Weekday");
     ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
     // ManageClassroomCoursePage.SelectWaitListasYes();
     ManageClassroomCoursePage.CreateSection.Create();
     _test.Log(Status.Info, "Click on Create Button on Create Section Page");
     CommonSection.Manage.Training();
     _test.Log(Status.Info, "navigate to Manage Training page");
     TrainingPage.ManageContentPortlet.SearchForContent(classroomcoursetitle + "TC51578");
     _test.Log(Status.Info, "Search the classroom content from Manage Content portlet");
     Assert.IsTrue(ManageContentPage.ResultGrid.isSeaarchedContentDisplay(classroomcoursetitle + "TC51578"));
     ManageContentPage.ResultGrid.ClickCourseExpander(classroomcoursetitle + "TC51578");
     Assert.IsTrue(ManageContentPage.ExpandedSectiondetails.VerifyEventScheduleText("Every Weekday"));
     _test.Log(Status.Pass, "Verify event start date, end date, recurrence type");
 }
예제 #28
0
        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");
        }
예제 #29
0
        public void P20_1_a15_Self_Waitlist_in_Classroom_Course_14509()
        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC14509");
            _test.Log(Status.Pass, "New Classroom Course Created");
            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.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Clcik create button");

            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            Assert.IsTrue(ManageClassroomCoursePage.Enrollment());
            ManageClassroomCoursePage.Enrollmenttab.ClickEnroll();
            ManageClassroomCoursePage.BatchEnrollUserModal.EnrollUser("user");
            _test.Log(Status.Info, "Enrollment one user to section");

            CommonSection.Logout();
            LoginPage.LoginAs("userreg_0210112911anybrowser").WithPassword("").Login();
            _test.Log(Status.Info, "Login with a learner");
            CommonSection.SearchCatalog('"' + classroomcoursetitle + "TC14509" + '"');
            _test.Log(Status.Info, "Search created Classroom Course from Catalog");
            SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "TC14509");
            _test.Log(Status.Info, "Click searched Classroom course title");
            ContentDetailsPage.ContentBanner.Click_ScheduleButton();
            _test.Log(Status.Info, "Click at schedule tab");
            //Assert.IsTrue(ContentDetailsPage.ScheduledCourse.IsWaitlistbuttonDisplay());
            _test.Log(Status.Pass, "Verify Waitlist button Display for section");
            Assert.IsTrue(ContentDetailsPage.ScheduleTab.SectionPortlet.IsWaitlistbuttonDisplay());
            ContentDetailsPage.ScheduledCourse.ClickWaitlistButton();
            _test.Log(Status.Info, "Click Waitlist button");
            // Assert.IsTrue(ContentDetailsPage.ScheduledCourse.IsCancelWaitlistbuttonDisplay());
            Assert.IsTrue(ContentDetailsPage.ScheduleTab.SectionPortlet.IsCancelWaitlistbuttonDisplay());
            _test.Log(Status.Pass, "Verify Cancel Waitlist button Display for section");
        }
        public void P20_1_Z19_Admin_User_Delete_Events_From_Section_Detail_Page_34041()
        {
            #region create new course and Access The Section Detail From Gradebook Page
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34041");
            _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(SectionTitle + "TC34041");
            ManageClassroomCoursePage.CreateSection.SectionMaxCapacity("1");
            ManageClassroomCoursePage.SelectUseWaitlist("");
            ManageClassroomCoursePage.CreateSection.Create();
            Assert.IsTrue(ClassroomCoursePage.GetNewCreatedSectionLink(SectionTitle + "TC34041"));

            _test.Log(Status.Pass, "Create New Course Section and Event");

            ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            ManageClassroomCoursePage.ScheduleTab();
            Assert.IsTrue(ManageClassroomCoursePage.Remove_Event(SectionTitle + "TC34041"));
            _test.Log(Status.Pass, "Assertion Pass as Event has been removed");
            #endregion
        }