[Test, Order(02)]//Document
        public void P20_1_z03_Document_Enable_Versioning_7480()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.CreteNewDocuemnt(DocumentTitle + "TC7480");
            _test.Log(Status.Info, "Create a Document");
            AdminContentDetailsPage.EditVersioning_Enabled("1.0");
            _test.Log(Status.Info, "Enable versioning by adding values");
            Assert.IsTrue(Driver.comparePartialString("Versioning is now enabled for this item; however," +
                                                      " information cannot be edited for this version because either users had progress against it before versioning was enabled, " +
                                                      "or the effective date has been reached.", VersionsPage.VerifyVersionEnableMessage()));
            _test.Log(Status.Pass, "Verify version enabling message");

            Assert.IsTrue(Driver.comparePartialString(" This information cannot be edited for this version because either users" +
                                                      " had progress against it before versioning was enabled, or the effective date has been reached.", VersionsPage.VerifyVersionAlertMessage()));
            _test.Log(Status.Pass, "Verify version Locking message");

            //string version = VersionsPage.VersionNo();
            VersionsPage.Click_Back();

            Assert.IsTrue(AdminContentDetailsPage.VerifyVersion(version));
            _test.Log(Status.Pass, "Verify version");
            Assert.IsTrue(AdminContentDetailsPage.VerifyAddVersionButton());
            _test.Log(Status.Pass, "Verify Add version Button is Displayed");
        }
        public void P20_1_z05_General_Course_Enable_Versioning_7476()
        {
            CommonSection.CreateGeneralCourse(generalcoursetitle + "TC7476");
            _test.Log(Status.Info, "Create a general Course");
            AdminContentDetailsPage.EditVersioning_Enabled("1.0");
            _test.Log(Status.Info, "Enable versioning by adding values");
            Assert.IsTrue(Driver.comparePartialString("Versioning is now enabled for this item; however," +
                                                      " information cannot be edited for this version because either users had progress against it before versioning was enabled, " +
                                                      "or the effective date has been reached.", VersionsPage.VerifyVersionEnableMessage()));
            _test.Log(Status.Pass, "Verify version enabling message");

            Assert.IsTrue(Driver.comparePartialString(" This information cannot be edited for this version because either users" +
                                                      " had progress against it before versioning was enabled, or the effective date has been reached.", VersionsPage.VerifyVersionAlertMessage()));
            _test.Log(Status.Pass, "Verify version Locking message");

            // string version = VersionsPage.VersionNo();
            VersionsPage.Click_Back();

            Assert.IsTrue(AdminContentDetailsPage.VerifyVersion(version));
            _test.Log(Status.Pass, "Verify version");
            Assert.IsTrue(AdminContentDetailsPage.VerifyAddVersionButton());
            _test.Log(Status.Pass, "Verify Add version Button is Displayed");
        }