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 z01_Classroom_Section_Copy_With_Standard_Default_Enrollment_35666()

        {
            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC35666");
            _test.Log(Status.Info, "New Classroom Course Created");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            // ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(0);
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Click on Create Button on Create Section Page");
            // ManageClassroomCoursePage.Sectiontab.ClickManageEnrollment();
            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");
            Assert.IsTrue(SectionsPage.CopySectionModal.EnrollmentStartsToggle("Initial"));
            _test.Log(Status.Info, "Keep Enrollment Start date to Default with Initial setting");
            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.VerifySection2EnrollmentAndSectionDates(SectionStartDate));
            _test.Log(Status.Pass, "Verify Section2 the Enrollment Start Date is same as Section Start Date");
        }