public void a06_As_an_admin_managing_equivalencies_I_want_to_find_content_to_add_as_a_new_equivalency_for_Curriculum_52243()
        {
            CommonSection.CreateLink.Curriculam();
            _test.Log(Status.Info, "Naviagte to Cretae Curriculums page");
            CreateCurriculumnPage.fillTtile(curriculamtitle + "_TC52243");
            CreateCurriculumnPage.SelectCollaborationSpaceOption("No");
            CreateCurriculumnPage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Curriculum 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_57597_As_an_admin_I_want_to_attach_an_Evaluation_for_Curriculum()
        {
            CommonSection.CreateLink.Curriculam();
            _test.Log(Status.Info, "Naviagte to Cretae Curriculums page");
            CreateCurriculumnPage.fillTtile(curriculamtitle + "_TC57597");
            CreateCurriculumnPage.SelectCollaborationSpaceOption("No");
            CreateCurriculumnPage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Curriculum 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 P20_1_a14_Delete_Curriculumn_10839()
        {
            CommonSection.CreateLink.Curriculam();
            _test.Log(Status.Info, "Naviagte to Cretae Curriculums page");
            CreateCurriculumnPage.fillTtile(curriculamtitle + "TC10839");
            CreateCurriculumnPage.SelectCollaborationSpaceOption("No");

            CreateCurriculumnPage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Curriculum created");

            CommonSection.SearchCatalog('"' + curriculamtitle + "TC10839" + '"');
            _test.Log(Status.Info, "Search created Curriculumn Course from Catalog");
            SearchResultsPage.ClickCourseTitle(curriculamtitle + "TC10839");
            _test.Log(Status.Info, "Click searched Curriculumn course title");
            ContentDetailsPage.ClickEditContent_New19_2();
            ContentDetailsPage.DeleteContent();
            _test.Log(Status.Info, "Deleting Content");
            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");
        }
Ejemplo n.º 4
0
        public void tc_10822_Create_Curriculum()
        {
            CommonSection.CreateLink.Curriculam();
            Assert.IsTrue(CreateCurriculumnPage.AvailableinCatalog.isAvailableinCatalogOptionisDisplay());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            Assert.IsTrue(CreateCurriculumnPage.AvailableinCatalog.isChecked());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            GeneralCoursePage.SearchTagForNewContent(tagname);
            _test.Log(Status.Info, "Searching Tag.");
            CreateCurriculumnPage.fillTtile(curriculumtitle + "TC10822");
            CreateCurriculumnPage.SelectCollaborationSpaceOption("No");
            CreateCurriculumnPage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Curriculum created");
            string savedTagName = ContentDetailsPage.Summary.tagName(tagname);

            StringAssert.AreEqualIgnoringCase(tagname, savedTagName);
            _test.Log(Status.Info, "Assertion Pass as Searching for Tag Successfully Done");
            Assert.IsTrue(ContentDetailsPage.Summary.isAvailableinCatalog("Yes"));
            _test.Log(Status.Pass, "Verify Available in Catalog values is Yes in summary portlet");
            CommonSection.SearchCatalog(curriculumtitle + "TC10822");
            Assert.IsTrue(SearchResultsPage.isSearchResultDisplayed(curriculumtitle + "TC10822"));
            _test.Log(Status.Pass, "Verify Created content is Searched");
        }
Ejemplo n.º 5
0
        public void tc_10823_Manager_Curriculum()
        {
            CommonSection.CreateLink.Curriculam();
            //  Assert.IsTrue(Driver.checkTagsonContentCreationPage(true));
            CreateCurriculumnPage.fillTtile(curriculumtitle + "TC10823");
            CreateCurriculumnPage.SelectCollaborationSpaceOption("No");
            CreateCurriculumnPage.ClickCreatebutton();
            _test.Log(Status.Info, "A new Curriculum created");
            CommonSection.Manage.Training();
            TrainingPage.SearchRecord(curriculumtitle + "TC10823");
            SearchResultsPage.ClickCourseTitle(curriculumtitle + "TC10823");
            ContentDetailsPage.Summary.ClickEdit();
            Assert.IsTrue(CreateCurriculumnPage.AvailableinCatalog.isAvailableinCatalogOptionisDisplay());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            Assert.IsTrue(CreateCurriculumnPage.AvailableinCatalog.isChecked());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            GeneralCoursePage.SearchTagForNewContent(tagname);
            _test.Log(Status.Info, "Searching Tag.");
            CreateCurriculumnPage.AvailableinCatalog.ClicktoUncheck();
            SummaryPage.ClickSavebutton();
            string savedTagName = ContentDetailsPage.Summary.tagName(tagname);

            StringAssert.AreEqualIgnoringCase(tagname, savedTagName);
            _test.Log(Status.Info, "Assertion Pass as Searching for Tag Successfully Done");
            Assert.IsTrue(ContentDetailsPage.Summary.isAvailableinCatalog("No"));
            CommonSection.SearchCatalog(curriculumtitle + "TC10823");
            Assert.IsFalse(SearchResultsPage.isSearchResultDisplayed(curriculumtitle + "TC10823"));
            _test.Log(Status.Pass, "Verify Created content is not Searched");

            CommonSection.Manage.Training();
            _test.Log(Status.Info, "Navigate to Manage>>Training Page");
            TrainingPage.SearchRecord(curriculumtitle + "TC10823");
            _test.Log(Status.Info, "Searchched created Classroom course using manage Content portlet");
            Assert.IsTrue(ManageContentPage.ResultGrid.isSeaarchedContentDisplay(curriculumtitle + "TC10823"));
            _test.Log(Status.Pass, "Verify Created content is Searched through Manage content");
        }