Exemple #1
0
        public void b20_Edit_Content_Document_27999()
        {
            CommonSection.CreteNewDocuemnt(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Create a Document");
            CommonSection.SearchCatalog(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Search for the Certification Course Title");
            SearchResultsPage.ClickCourseTitle(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Click on Course Title");
            ContentDetailsPage.ClickEditContent();
            _test.Log(Status.Info, "Click Edit Content");
            Assert.IsTrue(AdminContentDetailsPage.VerifyCheckout());
            _test.Log(Status.Pass, "verify Checkout Button");
            CommonSection.Logout();
            _test.Log(Status.Info, "Logout of siteadmin account");

            LoginPage.LoginAs("ak_contentmanager").WithPassword("").Login();
            _test.Log(Status.Info, "Login with Content manager Account");
            CommonSection.CreteNewDocuemnt(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Create a Document");
            CommonSection.SearchCatalog(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Search for the Certification Course Title");
            SearchResultsPage.ClickCourseTitle(DocumentTitle + "TC27999");
            _test.Log(Status.Info, "Click on Course Title");
            ContentDetailsPage.ClickEditContent();
            _test.Log(Status.Info, "Click Edit Content");
            Assert.IsTrue(AdminContentDetailsPage.VerifyCheckout());
            _test.Log(Status.Pass, "verify Checkout Button");
        }