public void a06_Test_to_see_related_similar_content_based_on_Categories_when_viewing_a_Content_Item_34836() { CommonSection.CreateLink.GeneralCourse(); _test.Log(Status.Info, "Goto Content Creation Page"); GeneralCoursePage.CreateGeneralCourse(generalcoursetitle + "TC34836", generalcoursetitle + "TC34836"); _test.Log(Status.Info, "Content Created"); GeneralCoursePage.AddCategories("TC34836"); string CourseCategory = ContentDetailsPage.CategoriesAccordian.Categoryname(); GeneralCoursePage.ClickCheckIn(); CommonSection.CreateLink.GeneralCourse(); _test.Log(Status.Info, "Goto Content Creation Page"); GeneralCoursePage.CreateGeneralCourse(generalcoursetitle + "TC34836_1", generalcoursetitle + "TC34836_1"); _test.Log(Status.Info, "Content Created"); GeneralCoursePage.AddCategories("TC34836"); GeneralCoursePage.ClickCheckIn(); CommonSection.SearchCatalog('"' + generalcoursetitle + "TC34836" + '"'); _test.Log(Status.Info, "Search a content from catalog"); SearchResultsPage.ClickCourseTitle(generalcoursetitle + "TC34836"); _test.Log(Status.Info, "Click on searched content tilte"); Assert.IsTrue(ContentDetailsPage.isMorelikethisPortletdisplay()); _test.Log(Status.Pass, "Verify More like this Portlet is displaying in content details Page"); Assert.IsTrue(ContentDetailsPage.isrelatedContentMatch(CourseCategory)); }