public void b04_Document_Delete_Version_Manage_Versions_7483() { CommonSection.Manage.Training(); _test.Log(Status.Info, "Verify Add version Button is Displayed"); TrainingPage.ManageContentPortlet.SearchForContent(DocumentTitle + "TC7482"); _test.Log(Status.Info, "Search for Content"); ManageContentPage.ClickContentTitle(DocumentTitle + "TC7482"); _test.Log(Status.Info, "Click on Coure title "); Assert.IsTrue(AdminContentDetailsPage.VerifyAddVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); AdminContentDetailsPage.AddVersion(); _test.Log(Status.Info, "Verify Add version Button is Displayed"); Assert.IsTrue(Driver.comparePartialString(" The new version was added for the content item.", AdminContentDetailsPage.VerifyNewVersionSuccessMessage())); _test.Log(Status.Pass, "Verify New Version Success Message"); Assert.IsTrue(AdminContentDetailsPage.VerifyAddedVersionsInDropDownlist()); _test.Log(Status.Pass, "Verify added version in Dropdown List"); Assert.IsTrue(AdminContentDetailsPage.VerifyAddVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); Assert.IsTrue(AdminContentDetailsPage.VerifyDeleteVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); Assert.IsTrue(AdminContentDetailsPage.VerifyManageVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); AdminContentDetailsPage.ManageVersion_Delete("Version 1.1 English (United States)"); _test.Log(Status.Info, "Delete Version from Manage Version Button"); Assert.IsTrue(Driver.comparePartialString(" The version was deleted.", ManageVersionsPage.VerifyDeleteVersionSuccessMessage())); _test.Log(Status.Pass, "Verify Delete Version Message"); ManageVersionsPage.Click_Back(); _test.Log(Status.Pass, "Click Back Button"); Assert.IsFalse(AdminContentDetailsPage.VerifyAddVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); Assert.IsFalse(AdminContentDetailsPage.VerifyAddVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); Assert.IsFalse(AdminContentDetailsPage.VerifyDeleteVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); Assert.IsFalse(AdminContentDetailsPage.VerifyManageVersionButton()); _test.Log(Status.Pass, "Verify Add version Button is Displayed"); }