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"); }
[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 a10_User_views_event_date_time_recurrence_format_on_Catalog_Expanded_Classroom_Course_where_section_withOneEventwithMonthlySpecificDay_Recurrence_34752() { ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "TC34752"); _test.Log(Status.Info, "New Classroom Course Created"); ManageClassroomCoursePage.Clicktab("Sections"); ManageClassroomCoursePage.CreateSection.ClickAddaNewSection(); ManageClassroomCoursePage.CreateSection.TitleAs("Section1"); ManageClassroomCoursePage.setRecurence("MonthlySDR"); // Monthly Specific Day ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1); //ManageClassroomCoursePage.SelectWaitListasYes(); ManageClassroomCoursePage.CreateSection.Create(); _test.Log(Status.Info, "Click on Create Button on Create Section Page"); CommonSection.CatalogSearchText('"' + classroomcoursetitle + "TC34752" + '"'); SearchResultsPage.ListofSearchResults.ExpandSections(); Assert.IsTrue(SearchResultsPage.ListofSearchResults.VerifyTextonEventPortlet("MonthlySpecificDay")); _test.Log(Status.Pass, "Verify event start date, end date, recurrence type"); SearchResultsPage.ClickCourseTitle(classroomcoursetitle + "TC34752"); Assert.IsTrue(ContentDetailsPage.ScheduledCourse.VerifyMiddleColumnText("MonthlySpecificDay")); _test.Log(Status.Pass, "Verify event start date, end date, recurrence type"); ContentDetailsPage.ScheduledCourse.ClickExpandRowicon(); Assert.IsTrue(ContentDetailsPage.ExpandedScheduledCourse.VerifyEventScheduleText("MonthlySpecificDay")); _test.Log(Status.Pass, "Verify event start date, end date, recurrence type"); ManageClassroomCoursePage.DeleteContent(classroomcoursetitle + "TC34752"); }