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 }