public void tc_60488_Public_catalog_banner_actions_for_Certification() { ContentDetailsPage.clickReturningUserLogin(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.CreateGeneralCourse(GeneralCourseTitle + "_TC60488"); DocumentPage.ClickButton_CheckIn(); CommonSection.CreateLink.Certifications(); CertificationPage.FillTitle(CertificatrTitle + "_TC60488"); _test.Log(Status.Info, "Fill title"); CertificationPage.ClickCreateCertification(); _test.Log(Status.Info, "Click create"); Assert.IsTrue(ContentDetailsPage.IsContentCreated()); _test.Log(Status.Pass, "Verify New Document is Created"); ContentDetailsPage.Edit_Prerequisites(generalcoursetitle + "TC60459"); _test.Log(Status.Pass, "Click edit Prerequisite and add Prerequisite"); PrerequisitesPage.Click_BreadCrumb(); _test.Log(Status.Pass, "Click breadcrumbs"); AdminContentDetailsPage.EditAndAddCertificationContent('"' + GeneralCourseTitle + "_TC60488" + '"'); CertificatePage.Click_backbutton(); ContentDetailsPage.Accordians.ClickEdit_Image(); ImagePage.UploadnewImageFile(); _test.Log(Status.Info, "Upload any Image file to content"); ContentDetailsPage.Click_editContentSharing(); ContentSharingPage.PublishtoPublishcatalog(); ContentDetailsPage.Click_Check_in(); _test.Log(Status.Info, "Click on Check In"); CommonSection.Logout(); LoginPage.ClickBrowsePublicCatalogLink(); CommonSection.SearchCatalog(CertificatrTitle + "_TC60488"); SearchResultsPage.ClickCourseTitle(CertificatrTitle + "_TC60488"); Assert.IsTrue(ContentDetailsPage.isBradCrumbdisplay()); Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(CertificatrTitle + "_TC60488")); _test.Log(Status.Pass, "Verify Content title is display on Banner"); Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTypedisplay()); _test.Log(Status.Pass, "Verify Content type is display on Banner"); Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentImagedisplay()); _test.Log(Status.Pass, "Verify Image is display on Banner"); Assert.IsTrue(ContentDetailsPage.OverviewTab.isPrerequisitePortletDisplay()); Assert.IsTrue(ContentDetailsPage.isContentTabdisplay()); tc_60477 = true; }