public void P20_1_tc_26288_Add_Test_to_Cart()
        {
            CommonSection.Administer.ContentManagement.Tests();
            TestsPage.ClickCreateNew();
            TestwizardPage.CreateNewTest(TestTitle + "_TC26288");
            _test.Log(Status.Info, "A New test created");
            TestwizardPage.addCosttoTest("5");
            _test.Log(Status.Info, "Upload any Image file to content");
            TestwizardPage.checkin();
            CommonSection.Logout();
            LoginPage.LoginAs("srlearner103").WithPassword("").Login();
            CommonSection.SearchCatalog(TestTitle + "_TC26288");
            SearchResultsPage.ClickCourseTitle(TestTitle + "_TC26288");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isAddtoCartbuttondisplay());
            _test.Log(Status.Pass, "Verify Add to Cart button display");
            ContentDetailsPage.OverviewTab.click_AddtoCart();
            Assert.IsTrue(ContentDetailsPage.OverviewTab.AddtoCartportlet.isTestAddedtoCart());
            CommonSection.ClickShoppingCart();

            ShoppingCartPage.CompletePurchaseProcess();
            OrderPage.Click_Purchased_Content(TestTitle + "_TC26288");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.Costportlet.isViewOrderlinkDisplay());
            _test.Log(Status.Pass, "Verify view order link display on Add to Cart portlet");
            ContentDetailsPage.OverviewTab.Costportlet.ClickViewOrderlink();

            Assert.IsTrue(OrderDetailsPage.VerifyPurchasedContent(TestTitle + "_TC26288"));
            TC26378 = true;
        }
 public void tc_60082_Test_Overview_Tab_What_is_the_content_about()
 {
     CommonSection.Logout();
     LoginPage.LoginAs("").WithPassword("").Login();
     CommonSection.Administer.ContentManagement.Tests();
     TestsPage.ClickCreateNew();
     TestwizardPage.CreateNewTest(TestTitle + "_TC60082");
     _test.Log(Status.Info, "A New test created");
     TestwizardPage.addCosttoTest("5");
     TestwizardPage.checkin();
     CommonSection.SearchCatalog(TestTitle + "_TC60082");
     SearchResultsPage.ClickCourseTitle(TestTitle + "_TC60082");
     Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortletTitle("Description"));
     Assert.IsTrue(ContentDetailsPage.OverviewTab.isMasteryScoredisplay());
     Assert.IsTrue(ContentDetailsPage.OverviewTab.isMaxAttempsdisplay());
     Assert.IsTrue(ContentDetailsPage.OverviewTab.isNumberidQuestiondisplay());
     _test.Log(Status.Pass, "Verify of Attempts, Mastery Score, Maximum time Allowed options are display");
 }