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");
        }
        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");
        }
        [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");
        }