public void a05_As_an_admin_managing_equivalencies_I_want_to_find_content_to_add_as_a_new_equivalency_for_Bundle_52242()
        {
            CommonSection.CreateLink.Bundle();
            _test.Log(Status.Info, "Naviagte to Cretae Bundle page");
            CreatebundlePage.FillTitle(bunbdleTitle + "_TC52242");
            CreatebundlePage.bundleTypedropdown.selecttype("Progress Bundle");
            CreatebundlePage.bundleCostType.selectradiobutton("Bundle Price");
            CreatebundlePage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Bundle Created");

            ContentDetailsPage.Click_EditEquivalencies();
            _test.Log(Status.Info, "Click Edit button for Equivalencies portlet");
            Assert.IsTrue(EquivalenciesPage.isExestingEquvalencyContentdisplay("No"));
            _test.Log(Status.Pass, "Verify is any existing content display");
            EquivalenciesPage.ClickAddEquivalencyButton();
            _test.Log(Status.Info, "Click Add Equivalency Button");
            Assert.IsTrue(EquivalenciesPage.isAddEquvalenciesModalDisplay());
            _test.Log(Status.Pass, "Verify is Add Equvalencies Modal display");
            Assert.IsTrue(EquivalenciesPage.AddEquvalenciesModal.VerifymodalComponets("Search", "ResultGrid", "InactiveCheckbox", "Cancel", "Add"));
            _test.Log(Status.Pass, "Verify componets on Modal");
            EquivalenciesPage.AddEquvalenciesModal.ClickSearch();
            _test.Log(Status.Info, "Performed a blank search");
            string EquivalencyName = EquivalenciesPage.AddEquvalenciesModal.FistrecordTitle();

            EquivalenciesPage.AddEquvalenciesModal.SelectandAddFirstrecord();
            _test.Log(Status.Info, "Select the first record and click add button");
            Assert.IsTrue(EquivalenciesPage.isEquivalenciesadded());
            _test.Log(Status.Pass, "Verify selected content added as Equivalencies");
            Assert.IsTrue(EquivalenciesPage.Resultgrid.isRelationship("2-way"));
            _test.Log(Status.Pass, "Verify added Equivalencies get 2-way relationship");
            DocumentPage.ClickButton_CheckIn();
        }
Ejemplo n.º 2
0
        public void tc_57595_As_an_admin_I_want_to_attach_an_Evaluation_to_Bundles()
        {
            CommonSection.CreateLink.Bundle();
            _test.Log(Status.Info, "Naviagte to Cretae Bundle page");
            CreatebundlePage.FillTitle(BunbdleTitle + "_TC57595");
            CreatebundlePage.bundleTypedropdown.selecttype("Progress Bundle");
            CreatebundlePage.bundleCostType.selectradiobutton("Bundle Price");
            CreatebundlePage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Bundle Created");
            Assert.IsTrue(ContentDetailsPage.isSurveyAccordiandisplayed());
            _test.Log(Status.Info, "Verify Survey and Evaluations accordian display on RHS side");
            ContentDetailsPage.Accordians.ClickManage_Survey();
            _test.Log(Status.Info, "Click Survey Manage button");
            Assert.IsTrue(SurveysPage.IsSurveyPageCompenetsarepresent("Add btn", "resultgrid"));
            _test.Log(Status.Info, "Verify Survey page has Add Surveys button and result grid has no record");
            SurveysPage.ClickAssignSurveysnew();
            _test.Log(Status.Info, "Click on Assign Surveys Button");
            Assert.IsTrue(SurveysPage.isAddSurveyandEvaluationsModalDisplay());
            Assert.IsTrue(SurveysPage.AddSurveyModal.IsSearchfieldsDisplayed());
            _test.Log(Status.Pass, "Verify Search, Result grid, Add button on Add survey Modal");
            SurveysPage.AddSurveyModal.ClickAllTypedropdown();
            Assert.IsTrue(SurveysPage.AddSurveyModal.AllTypedropdown.isEvaluationdisplay());
            _test.Log(Status.Pass, "Verify Evaluation display in alltype dropdown");
            SurveysPage.AddSurveyModal.AllTypedropdown.ClickEvaluations();
            SurveysPage.AddSurveyModal.clickSearchicon();
            Assert.IsTrue(SurveysPage.AddSurveyModal.ResultGrid.isEvaluationsDisplay());
            _test.Log(Status.Pass, "Verify Evaluations are display in Result grid");
            Assert.IsTrue(SurveysPage.AddSurveyModal.ResultGrid.isRequiredChangeble());
            _test.Log(Status.Pass, "Verifyis Require is changeable");
            Assert.IsTrue(SurveysPage.AddSurveyModal.ResultGrid.isAvailableChangeble());
            _test.Log(Status.Pass, "Verify Available is changeable");

            ContentDetailsPage.DeleteContent();
        }
Ejemplo n.º 3
0
        public void tc_54735_View_as_Learner_Bundle()
        {
            CommonSection.CreateLink.Bundle();
            _test.Log(Status.Info, "Naviagte to Cretae Bundle page");
            CreatebundlePage.FillTitle(bunbdleTitle + "_TC54735");
            CreatebundlePage.bundleTypedropdown.selecttype("Progress Bundle");
            CreatebundlePage.bundleCostType.selectradiobutton("Bundle Price");
            CreatebundlePage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Bundle Created");

            DocumentPage.ClickButton_CheckIn();
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(bunbdleTitle + "_TC54735"));
            Assert.IsTrue(ContentDetailsPage.overviewTabdisplay());
        }
Ejemplo n.º 4
0
        public void a13_Delete_Bundle_10818()
        {
            CommonSection.CreateLink.Bundle();
            _test.Log(Status.Info, "Naviagte to Cretae Bundle page");
            CreatebundlePage.FillTitle(bunbdleTitle + "TC10818");
            CreatebundlePage.bundleTypedropdown.selecttype("Progress Bundle");
            CreatebundlePage.bundleCostType.selectradiobutton("Bundle Price");
            //Assert.IsTrue(CreatebundlePage.DisplayFormatDropdown.isDefaultvaluedisplay());
            //_test.Log(Status.Pass, "Verify Default value of Display Format is Document");
            CreatebundlePage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Bundle Created");

            CommonSection.SearchCatalog('"' + bunbdleTitle + "TC10818" + '"');
            _test.Log(Status.Info, "Search created general Course from Catalog");
            SearchResultsPage.ClickCourseTitle(bunbdleTitle + "TC10818");
            _test.Log(Status.Info, "Click searched Bundle title");
            ContentDetailsPage.ClickEditContent();
            ContentDetailsPage.DeleteContent();
            _test.Log(Status.Info, "Deleting general Course");
            Assert.IsTrue(Driver.Instance.IsElementVisible(By.XPath("//div[@class='alert alert-success']")));
            _test.Log(Status.Pass, "Assertion Pass as Content has been deleted from creating domain");
        }