Ejemplo n.º 1
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;
 }