public void tc_60003_AICC_Banner_Actions_Open_Item()
        {
            #region Create a AICC course
            Scorm12 CreateScorm = new Scorm12(driver);
            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC560003");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());

            AdminContentDetailsPage.ClickCheckInbutton();
            _test.Log(Status.Info, "Click Check-In");
            #endregion
            CommonSection.SearchCatalog(AICCCourseTitle + "TC560003");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC560003");
            ContentDetailsPage.ContentBanner.Click_Enrollbutton();
            ContentDetailsPage.ContentBanner.Click_Startbutton();
            _test.Log(Status.Info, "Start Aicc course");
            Assert.IsTrue(ContentDetailsPage.isAICCCourseOpened());
            ContentDetailsPage.CloseAICCModal();
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContinueButtonDisplsplay());
            _test.Log(Status.Pass, "Verify is Continue button display");
            TC60004 = true;
        }
        public void tc_60001_AICC_Banner_Actions_Enroll_in_content()
        {
            #region Create a AICC course
            Scorm12 CreateScorm = new Scorm12(driver);
            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC560001");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());

            AdminContentDetailsPage.ClickCheckInbutton();
            _test.Log(Status.Info, "Click Check-In");
            #endregion
            CommonSection.SearchCatalog(AICCCourseTitle + "TC560001");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC560001");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isOpenItembuttonDisplay());
            ContentDetailsPage.EnrollinGeneralCourse_new();
            //StringAssert.AreEqualIgnoringCase("Success\r\nYou are now enrolled.\r\n×", Driver.getSuccessMessage(), "Error message is different");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isCancelEnrolllinkDisplay_GeneralCourse());
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isStartbuttonDisplay());
            ContentDetailsPage.ContentBanner.Click_CancelEnrollmetlink();
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isOpenItembuttonDisplay());
            _test.Log(Status.Pass, "Verify Enroll button display");
            TC60002 = true;
        }
        public void tc_60042_AICC_Review()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC60042");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            DocumentPage.ClickButton_CheckIn();

            CommonSection.Logout();
            LoginPage.LoginAs("srlearner103").WithPassword("password").Login();
            CommonSection.SearchCatalog(AICCCourseTitle + "TC60042");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC60042");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isOpenItembuttonDisplay());
            ContentDetailsPage.Click_ReviewTab_GeneralCourse();
            _test.Log(Status.Info, "Click Review Tab");
            Assert.IsFalse(ContentDetailsPage.GeneralCourse_ReviewsTab.isWriteaReviewButtondisplay()); //AC1
            ContentDetailsPage.EnrollinGeneralCourse_new();
            ContentDetailsPage.Click_ReviewTab_GeneralCourse();
            Assert.IsTrue(ContentDetailsPage.GeneralCourse_ReviewsTab.isWriteaReviewButtondisplay()); //AC1
            ContentDetailsPage.GeneralCourse_ReviewsTab.WriteaReview("Title", "For Testing");
            Assert.IsTrue(ContentDetailsPage.GeneralCourse_ReviewsTab.isReviewlistUpdated("Title"));
            _test.Log(Status.Pass, "Review submited");
        }
        public void tc_59996_AICC_Banner_Actions_Add_To_Cart()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            #region Create a AICC course
            Scorm12 CreateScorm = new Scorm12(driver);
            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59996");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            AdminContentDetailsPage.AddCost();
            _test.Log(Status.Info, "Add cost to Document");
            ContentDetailsPage.ClickEditContent_New19_2();
            _test.Log(Status.Info, "Click Edit Content");
            DocumentPage.ClickButton_CheckIn();
            #endregion
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();

            Assert.IsTrue(ContentDetailsPage.OverviewTab.isAddtoCartbuttondisplay());
            _test.Log(Status.Pass, "Add to Cart Button is Displayed");
        }
        public void a04_User_can_jump_to_curriculum_content_from_banner_messaging_56247()
        {
            CommonSection.Administer.System.DomainsandURLS.Domains();
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            EditSummaryPage.OptionsTab.AutomaticCurriculumnEnrolment("On");

            #region Create a general course
            CommonSection.CreateGeneralCourse(GeneralCourseTitle + "_TC56247");
            DocumentPage.ClickButton_CheckIn();
            #endregion
            #region Create a curriculum
            CommonSection.CreteNewCurriculumn(curriculamtitle + "_TC56247");
            _test.Log(Status.Info, "Create A new Curriculum");
            ContentDetailsPage.ClickCurriculumContentEditButton();
            CurriculumContentPage.ClickAddCurriculumBlock();
            CurriculumContentPage.AddCurriculumBlock.AddBlockAs(block + "_UnOrdered" + "_TC56247");
            CurriculumContentPage.AddTrainingActivities_UnOrdered(GeneralCourseTitle + "_TC56247");

            DocumentPage.ClickButton_CheckIn();
            #endregion
            CommonSection.SearchCatalog(curriculamtitle + "_TC56247");
            _test.Log(Status.Info, "Enter curriculum title in global search box");
            SearchResultsPage.ClickCourseTitle(curriculamtitle + "_TC56247");
            _test.Log(Status.Info, "Click on search result from catalog");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isViewContentButtonDisplay());
            Assert.IsTrue(ContentDetailsPage.ContentBanner.iscompleteitemmessage("Complete 1 required item(s)"));  //AC2
            CommonSection.Administer.System.DomainsandURLS.Domains();
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            EditSummaryPage.OptionsTab.AutomaticCurriculumnEnrolment("Off");
        }
        public void tc_62150_Self_Registration_and_Public_Catalog_Setting_controls_all_user_account_creation()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.Administer.System.DomainsandURLS.Domains();
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            _test.Log(Status.Info, "Navigate to option tab");
            Assert.IsTrue(EditConfigurationOptionsPage.isSeftRegistrationisOn());
            EditConfigurationOptionsPage.SetSeftRegistration("Off");
            Assert.IsTrue(EditConfigurationOptionsPage.isPublicCatalogYes());
            EditConfigurationOptionsPage.SetPublicCatalog("No");
            EditConfigurationOptionsPage.ClickSave();
            CommonSection.Logout();
            Assert.IsFalse(LoginPage.isSignupLisnkdisplay());
            Assert.IsFalse(LoginPage.isBrowsePublicCatalog());
            _test.Log(Status.Pass, "Verify both sign up and Public catalog link is not present");

            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.Administer.System.DomainsandURLS.Domains();
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            _test.Log(Status.Info, "Navigate to option tab");
            Assert.IsFalse(EditConfigurationOptionsPage.isSeftRegistrationisOn());
            EditConfigurationOptionsPage.SetSeftRegistration("On");
            EditConfigurationOptionsPage.SetPublicCatalog("Yes");
            EditConfigurationOptionsPage.ClickSave();
        }
예제 #7
0
 public void tc_63230_As_an_admin_I_want_to_enable_content_level_editing_for_system_emails_Domain_Setting()
 {
     CommonSection.Administer.System.DomainsandURLS.Domains();
     _test.Log(Status.Info, "As an Admin navigate to System >> Domains");
     DomainsPage.ClickDomainLink("Meridian Global");
     EditSummaryPage.ClickOptionsTab();
     _test.Log(Status.Info, "Navigate to option tab");
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay());
     _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display");
     Contentlevelseting = EditConfigurationOptionsPage.EditConfigurationTab.Contentleveleditingforsystememailsisselected();
     EditConfigurationOptionsPage.EditConfigurationTab.SetContentleveleditingforsystememailsisOn(Contentlevelseting);
     _test.Log(Status.Info, "Set Contnt level emaol editing option to oposite of variable : Contentlevelseting");
     EditConfigurationOptionsPage.EditConfigurationTab.ClickSave();
     Contentlevelseting = EditConfigurationOptionsPage.EditConfigurationTab.Contentleveleditingforsystememailsisselected();
     EditConfigurationOptionsPage.EditConfigurationTab.ClickReturn();
     _test.Log(Status.Info, "Click return");
     DomainsPage.ClickDomainLink("Meridian Global");
     EditSummaryPage.ClickOptionsTab();
     _test.Log(Status.Info, "Navigate to option tab");
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay());
     _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display");
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.Contentleveleditingforsystememailsisselected() == Contentlevelseting);
     _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option setting is no which doesn't mathch with prior one");
     EditConfigurationOptionsPage.EditConfigurationTab.SetContentleveleditingforsystememailsisOn(Contentlevelseting);
     _test.Log(Status.Info, "Set Contnt level emaol editing option to oposite of variable : Contentlevelseting");
     EditConfigurationOptionsPage.EditConfigurationTab.ClickSave();
     TC63231 = true;
 }
예제 #8
0
        public void a12_Delete_AICC_Course_7436()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            #region creat AICC
            Scorm12 CreateScorm = new Scorm12(driver);
            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            string actualresult = driver.gettextofelement(By.XPath("//h1[contains(.,'Summary')]"));
            CreateAICCPage.Title(AICCTitle + "7436");

            //driver.WaitForElement(By.XPath("//*[contains(@class,'alert alert-success')]"));
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            #endregion
            CommonSection.SearchCatalog('"' + AICCTitle + "7436" + '"');
            _test.Log(Status.Info, "Search created AICC Course from Catalog");
            SearchResultsPage.ClickCourseTitle(AICCTitle + "7436");
            _test.Log(Status.Info, "Click searched AICC course 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");
        }
예제 #9
0
        public void tc_63932_As_a_siteadmin_I_want_to_edit_an_email_notification()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.Administer.System.DomainsandURLS.Domains();
            _test.Log(Status.Info, "As an Admin navigate to System >> Domains");
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            _test.Log(Status.Info, "Navigate to option tab");
            Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay());
            _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display");
            Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isContentleveleditingforsystememailsisOn());

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63932");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.SelectAddDayEventCheckbox();
            ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            _test.Log(Status.Info, "Set enrollment Start date to one day less from current date");
            ManageClassroomCoursePage.EnterMaximum("2");
            ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Clcik create button");

            Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay());
            _test.Log(Status.Pass, "Verify Notification tab is display");
            SectionDetailsPage.ClickNotificationTab();
            _test.Log(Status.Info, "Click Notification tab");
            Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay());
            _test.Log(Status.Pass, "Verify Email table display in Notification tab");
            SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord");
            Assert.IsTrue(Driver.checkTitle("Edit Email"));
            _test.Log(Status.Pass, "Verify Edit Email page display");
            Assert.IsTrue(EditEmailPage.isPreviewButtondisplay());
            string actualEmailTitle = EditEmailPage.getEmailTitle();

            EditEmailPage.UpdateEmailTitle(actualEmailTitle + "test");
            string Actualsubject = EditEmailPage.getSubjectText();

            EditEmailPage.UpdateSubject(Actualsubject + "test");
            EditEmailPage.ClickSave();
            _test.Log(Status.Info, "Click Save");
            EditEmailPage.clickBreadcrumb("Notifications");
            Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay());
            _test.Log(Status.Pass, "Verify Email table display in Notification tab");
            SectionDetailsPage.NotificationTab.Action.ClickEdit("FirstRecord");
            Assert.IsTrue(Driver.checkTitle("Edit Email"));
            _test.Log(Status.Pass, "Verify Edit Email page display");
            Assert.IsTrue(EditEmailPage.getEmailTitle().Equals(actualEmailTitle + "test"));
            Assert.IsTrue(EditEmailPage.getSubjectText().Equals(Actualsubject + "test"));
            _test.Log(Status.Pass, "Verify Changes are retained");
            TC63930 = true;
        }
        public void P20_1_tc_26953_View_Prerequisities_to_AICC_Course()
        {
            CommonSection.CreateGeneralCourse(GeneralCourseTitle + "TC26953");
            _test.Log(Status.Info, "Create a general Course for Prerequisite");
            AdminContentDetailsPage.AddCost();
            ContentDetailsPage.ClickEditContent_New19_2();
            DocumentPage.ClickButton_CheckIn();
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC26953");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");
            ContentDetailsPage.Edit_Prerequisites(GeneralCourseTitle + "TC26953");
            _test.Log(Status.Pass, "Click edit Prerequisite and add Prerequisite");
            //Assert.IsTrue(Driver.comparePartialString(" The selected items were added as prerequisites." +
            //    " If values were entered for any prerequisite's attributes, then these values were saved.", PrerequisitesPage.GetSuccessMessage()));
            //_test.Log(Status.Pass, "Verify  Success message");
            PrerequisitesPage.Click_BreadCrumb();
            _test.Log(Status.Pass, "Click breadcrumbs");
            ContentDetailsPage.Click_Check_in();
            _test.Log(Status.Info, "Click on Check In");
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();
            _test.Log(Status.Info, "Click on View As Learner");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isPrerequisitePortletDisplay());
            _test.Log(Status.Pass, "Verify prerequisite Accordian is Displayed");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isPrereqisiteRequiredmessageDisplay("Complete 1 prerequisites to continue"));
            _test.Log(Status.Pass, "Verify  information");

            Assert.IsTrue(ContentDetailsPage.OverviewTab.Prerequisiteportlet.isPrerequisiteStatusDisplayed());
            _test.Log(Status.Pass, "Verify prerequisite status is Displayed");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.Prerequisiteportlet.isPrerequisiteCostDisplayed());
            _test.Log(Status.Pass, "Verify prerequisite Cost is Displayed");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.Prerequisiteportlet.isPrerequisiteTitleDisplayed());
            _test.Log(Status.Pass, "Verify prerequisite Cost is Displayed");
            ContentDetailsPage.OverviewTab.Prerequisiteportlet.ClickPrerequisiteContentTitle(GeneralCourseTitle + "TC26953");
            _test.Log(Status.Info, "Click Prerequisite Title");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(GeneralCourseTitle + "TC26953"));
        }
        public void tc_59988_AICC_Banner_Actions_Request_Access()
        {
            #region Create a AICC course
            Scorm12 CreateScorm = new Scorm12(driver);
            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59988");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());

            AdminContentDetailsPage.AccessApproval.ClickEditButton();
            _test.Log(Status.Info, "Click Edit Content");
            AccessApprovalPage.AssignApproverPath();
            _test.Log(Status.Info, "Assign approval path");
            AdminContentDetailsPage.ClickCheckInbutton();
            _test.Log(Status.Info, "Click Check-In");

            #endregion
            CommonSection.Logout();
            LoginPage.LoginAs("srlearner103").WithPassword("").Login();
            CommonSection.SearchCatalog(AICCCourseTitle + "TC59988");
            _test.Log(Status.Info, "Searched created AICC Course");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59988");
            _test.Log(Status.Info, "Click on AICC Course title");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isRequestAccessbuttondisplay());
            _test.Log(Status.Pass, "Verify is Request Access button display on Banner");
            ContentDetailsPage.AccessApprovalModal.SubmitRequestAccess("ForTest");
            _test.Log(Status.Info, "Submit Request Access");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isCancleRequestbuttonDisplay());
            _test.Log(Status.Pass, "Verify is Cancle Request Access button display");
            ContentDetailsPage.ContentBanner.ClickViewRequestHistory();
            Assert.IsTrue(ContentDetailsPage.isHistorywindowopened());

            Assert.IsTrue(ContentDetailsPage.Historywin.isfieldsdisplay(AICCCourseTitle + "TC59988", "Content type", "status"));
            Driver.Instance.SelectWindowClose2("History", Meridian_Common.parentwdw);

            ContentDetailsPage.AccessApprovalModal.SubmitCancelRequestAccess("ForTest");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isRequestAccessbuttondisplay());
            _test.Log(Status.Info, "Verify Cancel Request access wotk flow");
            TC59990 = true;
        }
 public void tc_61680_As_an_admin_I_want_to_set_default_organization_for_Self_registration()
 {
     CommonSection.Administer.System.DomainsandURLS.Domains();
     DomainsPage.ClickDomainLink("Meridian Global");
     EditSummaryPage.ClickOptionsTab();
     _test.Log(Status.Info, "Navigate to option tab");
     EditConfigurationOptionsPage.EditConfigurationTab.ClickOrgResetLink();
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isDefaultOrganization("None"));
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isSelectbuttonisdisplay());
     EditConfigurationOptionsPage.EditConfigurationTab.ClickSelect();
     Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isSelectOrganizationWindowOpen());
     EditConfigurationOptionsPage.EditConfigurationTab.SelectOrganizationWindow.SelectOrg("Sample");
     //Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isOrgResetLinkdisplay());
     //EditConfigurationOptionsPage.EditConfigurationTab.ClickOrgResetLink();
     EditSummaryPage.OptionsTab.Save();
 }
        public void tc_60459_Public_catalog_banner_actions_for_AICC()
        {
            CommonSection.CreateGeneralCourse(generalcoursetitle + "TC60459");
            _test.Log(Status.Info, "Create a general Course for Prerequisite");
            AdminContentDetailsPage.AddCost();
            ContentDetailsPage.ClickEditContent_New19_2();
            DocumentPage.ClickButton_CheckIn();
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC60459");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");
            ContentDetailsPage.Edit_Prerequisites(generalcoursetitle + "TC60459");
            _test.Log(Status.Pass, "Click edit Prerequisite and add Prerequisite");
            PrerequisitesPage.Click_BreadCrumb();
            _test.Log(Status.Pass, "Click breadcrumbs");
            ContentDetailsPage.Accordians.ClickEdit_Image();
            ImagePage.UploadnewImageFile();
            _test.Log(Status.Info, "Upload any Image file to content");
            ContentDetailsPage.Click_editContentSharing();
            ContentSharingPage.PublishtoPublishcatalog();
            ContentDetailsPage.Click_Check_in();
            _test.Log(Status.Info, "Click on Check In");

            CommonSection.Logout();
            LoginPage.ClickBrowsePublicCatalogLink();
            CommonSection.SearchCatalog(AICCCourseTitle + "TC60459");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC60459");
            Assert.IsTrue(ContentDetailsPage.isBradCrumbdisplay());
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(AICCCourseTitle + "TC60459"));
            _test.Log(Status.Pass, "Verify Content title is display on Banner");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTypedisplay());
            _test.Log(Status.Pass, "Verify Content type is display on Banner");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentImagedisplay());
            _test.Log(Status.Pass, "Verify Image is display on Banner");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isPrerequisitePortletDisplay());
        }
        public void tc_59840_AICC_Overview_Tab_Learner_finds_What_is_content_About()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59840");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");

            AdminContentDetailsPage.CourseInformation.ClickEditButton();
            CourseInformationPage.CourseProvider.Select("Meridian");
            CourseInformationPage.EnterDuration("5");
            CourseInformationPage.clickSave();

            AdminContentDetailsPage.AddCost();
            ContentDetailsPage.ClickEditContent_New19_2();
            ContentDetailsPage.CreditTypeAccordian.ClickManage();
            NewCreditTypePage.AddDefaultCreditValue("5");

            ContentDetailsPage.PromotionalVideo.Click_Edit();
            PromotionalVideoPage.AddNewURL("//www.youtube.com/embed/Fc1P-AEaEp8");
            PromotionalVideoPage.Click_SaveButton();
            DocumentPage.ClickButton_CheckIn();
            _test.Log(Status.Info, "Aicc course checked in");

            CommonSection.SearchCatalog(AICCCourseTitle + "TC59840");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59840");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(AICCCourseTitle + "TC59840"));
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isDescriptionDisplay());      //AC1
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isCourseProviderDisplay());   //AC3
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isDurationDisplay());         //AC2
            Assert.IsTrue(ContentDetailsPage.OverviewTab.CreditPortlet.isCreditScoreDisplay() >= 0);
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isPromotionalVideodisplay()); //Verify the Promotional Video is displayed
            _test.Log(Status.Pass, "Verified Promotional Video display in content details page overview tab");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isAddtoCartbuttondisplay());
        }
        public void tc_59939_Learner_view_AICC_history_tab_on_Content_Details_page()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59939");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            DocumentPage.ClickButton_CheckIn();
            _test.Log(Status.Info, "A new AICC is Created");
            CommonSection.SearchCatalog(AICCCourseTitle + "TC59939");
            _test.Log(Status.Info, "Searched created AICC");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59939");
            _test.Log(Status.Info, "Click on Aicc course title");
            Assert.IsFalse(ContentDetailsPage.isHistoryTabDisplay_GeneralCourse());
            _test.Log(Status.Pass, "Verify History tab is not displayed");
            ContentDetailsPage.ContentBanner.Click_Enrollbutton();
            ContentDetailsPage.ContentBanner.Click_Startbutton();
            Assert.IsTrue(ContentDetailsPage.isAICCCourseOpened());
            ContentDetailsPage.CloseAICCModal();

            Assert.IsTrue(ContentDetailsPage.isHistoryTabDisplay_GeneralCourse());
            _test.Log(Status.Pass, "Verify History tab is displayed");
            //Assert.IsFalse(ContentDetailsPage.ContentBanner.isViewCertificationButtonDisplay());
            //Assert.IsTrue(ContentDetailsPage.ContentBanner.isReviewLinkDisplay());
            //Assert.IsTrue(ContentDetailsPage.ContentBanner.isRetakeLinkDisplay());

            ContentDetailsPage.Click_HistoryTab_Curriculum();
            //Assert.IsFalse(ContentDetailsPage.Historytab.isViewCertificateButtonDisplay());
            //_test.Log(Status.Pass, "Verify View Certification button should not display");
            Assert.IsTrue(ContentDetailsPage.HistoryTab.isStatusDisplay("Started"));
            _test.Log(Status.Pass, "Verify Completed status displayed");
        }
예제 #16
0
        public void tc_58349_As_a_learner_I_want_to_know_what_are_the_options_to_satisfy_prerequisites_When_admin_has_selected_minimum_Prerequisites_to_be_completed_in_AICC()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");
            string actualresult = driver.gettextofelement(By.XPath("//h1[contains(.,'Summary')]"));

            CreateAICCPage.Title(AICCTitle + "TC58349");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            AdminContentDetailsPage.Click_EditPrerequisitePanel();
            _test.Log(Status.Info, "Click Edit Button of prerequsite panel");

            Assert.IsTrue(PrerequisitesPage.VerifyAddPrerequisitesButtonIsDisplayed());
            _test.Log(Status.Pass, "Verify Add Prerequisite Button is Displayed");
            PrerequisitesPage.Click_AddPrerequisitesButton();
            _test.Log(Status.Info, "Click Add Prerequisite Button");

            Assert.IsTrue(PrerequisitesPage.VerifyContentIsDisplayedInAddPrerequisitesModal());
            _test.Log(Status.Pass, "Verify Add Prerequisite Modal is Displayed");
            PrerequisitesPage.SelectandAddPrerequisitesToAssign();
            _test.Log(Status.Info, "Select prerequisites to assign");
            // Assert.IsTrue(Driver.comparePartialString("Success  The selected items were added as prerequisites. If values were entered for any prerequisite's attributes, then these values were saved.", PrerequisitesPage.GetSuccessMessage()));
            _test.Log(Status.Pass, "Verify Success message");
            Assert.IsTrue(PrerequisitesPage.VerifyPrerequisitesAdded() >= 1);
            _test.Log(Status.Pass, "Verify Prerequisites are added");
            PrerequisitesPage.prerequisitesmustbecompleteddropdown.Selectlist("2");
            DocumentPage.ClickButton_CheckIn();

            CommonSection.Logout();
            LoginPage.LoginAs("srlearner103").WithPassword("").Login();
            CommonSection.SearchCatalog(AICCTitle + "TC58349");
            SearchResultsPage.ClickCourseTitle(AICCTitle + "TC58349");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.Prerequisiteportlet.isPortletheadershowes("Warning\r\nComplete the prerequisites to access this item. 2 of 10 required."));
        }
예제 #17
0
        public void tc_63431_As_an_admin_I_want_to_turn_an_email_notification_On_Off()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.Administer.System.DomainsandURLS.Domains();
            _test.Log(Status.Info, "As an Admin navigate to System >> Domains");
            DomainsPage.ClickDomainLink("Meridian Global");
            EditSummaryPage.ClickOptionsTab();
            _test.Log(Status.Info, "Navigate to option tab");
            Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isEnablecontentleveleditingforsystememailsDisplay());
            _test.Log(Status.Pass, "Verify Enable content-level editing for system emails option is Display");
            Assert.IsTrue(EditConfigurationOptionsPage.EditConfigurationTab.isContentleveleditingforsystememailsisOn());

            ClassroomCoursePage.CreateClassroomCourse(classroomcoursetitle + "_TC63431");
            ManageClassroomCoursePage.Clicktab("Sections");
            ManageClassroomCoursePage.CreateSection.ClickAddaNewSection();
            ManageClassroomCoursePage.CreateSection.TitleAs("Section1");
            ManageClassroomCoursePage.SelectAddDayEventCheckbox();
            ManageClassroomCoursePage.CreateSection.SetEnrollmentStartsDate(1);
            _test.Log(Status.Info, "Set enrollment Start date to one day less from current date");
            ManageClassroomCoursePage.ClickSelectInstructorButton();
            ManageClassroomCoursePage.SelectInstructorModal.SearchInstructor("Somnath1");
            _test.Log(Status.Info, "Search any instructor in Select Instructor Modal");
            ManageClassroomCoursePage.SelectInstructorModal.SelectandClickSet();
            _test.Log(Status.Info, "Select searched instructor and Click on Set");
            ManageClassroomCoursePage.EnterMaximum("2");
            ManageClassroomCoursePage.SelectWaitListasYes();
            ManageClassroomCoursePage.CreateSection.Create();
            _test.Log(Status.Info, "Clcik create button");


            Assert.IsTrue(SectionDetailsPage.isNotificationTabDisplay());
            _test.Log(Status.Pass, "Verify Notification tab is display");
            SectionDetailsPage.ClickNotificationTab();
            _test.Log(Status.Info, "Click Notification tab");
            Assert.IsTrue(SectionDetailsPage.NotificationTab.isEmailTabledisplay());
            _test.Log(Status.Pass, "Verify Email table display in Notification tab");
            SectionDetailsPage.NotificationTab.EmailTable.TurnoffFirstEmail();
            Assert.IsTrue(Driver.comparePartialString("Success The changes were saved.×", driver.getSuccessMessage()));
            _test.Log(Status.Pass, "Successful message matched ");
            TC63433 = true;
        }
예제 #18
0
        public void tc_57591_As_an_admin_I_want_to_attach_an_Evaluation_for_AICC_course()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");
            string actualresult = driver.gettextofelement(By.XPath("//h1[contains(.,'Summary')]"));

            CreateAICCPage.Title(AICCTitle + "TC57591");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            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();
        }
 public void tc_60898_As_an_Admin_I_want_to_configure_my_domain_to_auto_approve_development_plans()
 {
     CommonSection.Administer.System.DomainsandURLS.Domains();
     _test.Log(Status.Info, "Navigate to Administer >> System >> Domains and URLs >> Domains");
     DomainsPage.ClickDomainLink("Meridian Global-Core Domain");
     _test.Log(Status.Info, "Click on Core Doamain link");
     EditSummaryPage.ClickOptionsTab();
     Assert.IsTrue(EditSummaryPage.OptionsTab.isAutoApproveDevelopmentPlan("No"));
     _test.Log(Status.Pass, "Verify Auto Approve Development Plan is No");
     EditSummaryPage.OptionsTab.SetAutoApproveDevelopmentPlan("Yes");
     EditSummaryPage.ClickSavebutton();
     CommonSection.Administer.System.DomainsandURLS.Domains();
     _test.Log(Status.Info, "Navigate to Administer >> System >> Domains and URLs >> Domains");
     DomainsPage.ClickDomainLink("Meridian Global-Core Domain");
     _test.Log(Status.Info, "Click on Core Doamain link");
     EditSummaryPage.ClickOptionsTab();
     Assert.IsTrue(EditSummaryPage.OptionsTab.isAutoApproveDevelopmentPlan("Yes"));
     _test.Log(Status.Pass, "Verify Auto Approve Development Plan is Yes");
     EditSummaryPage.OptionsTab.SetAutoApproveDevelopmentPlan("No");
     EditSummaryPage.ClickSavebutton();
 }
        public void a04_As_an_admin_managing_equivalencies_I_want_to_find_content_to_add_as_a_new_equivalency_for_AICC_52241()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");
            string actualresult = driver.gettextofelement(By.XPath("//h1[contains(.,'Summary')]"));

            CreateAICCPage.Title(AICCTitle + "TC52241");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");

            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();
        }
        public void tc_59831_As_a_Learner_view_the_Document_Description_at_Overview_tab()
        {
            CommonSection.Logout();
            LoginPage.LoginAs("").WithPassword("").Login();
            CommonSection.CreteNewDocuemnt(DocumentTitle + "TC59831");
            _test.Log(Status.Info, "Create A new Document");
            DocumentPage.ClickButton_CheckIn();
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();
            _test.Log(Status.Info, "Click view as Learner");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isDescriptionDisplay());
            _test.Log(Status.Pass, "Verify Description portlet display in Content Details page Overview Tab");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortletTest("There is no description for this item."));
            ContentDetailsPage.ClickEditContent_New19_2();
            DocumentPage.ClickButton_CheckOut();
            ContentDetailsPage.Summary.ClickEditButton();

            EditSummaryPage.addDescription("This is test for Show more link");
            DocumentPage.ClickButton_CheckIn();
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();
            _test.Log(Status.Info, "Click view as Learner");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isDescriptionDisplay());
            _test.Log(Status.Pass, "Verify Description portlet display in Content Details page Overview Tab");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortletTitle("Description"));
            Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortletTest("This is test for Show more link"));
            ContentDetailsPage.ClickEditContent_New19_2();
            DocumentPage.ClickButton_CheckOut();
            ContentDetailsPage.Summary.ClickEditButton();
            EditSummaryPage.addDescription("Welcome to MBA in a box: Business lessons from a CEO! This is the only online course you need to acquire the business acumen to:Start up your own business Grow your existing venture Take your career to the next level Get promoted and apply managerial, financial, marketing, decision - making and negotiation skills in the real business world Have an all - around view of why some companies(and people) succeed when doing business and others do not This course is jam - packed with the same useful information and real - life case studies MBA graduates acquire throughout their training in top - tier business schools. We have even made it more interactive by preparing a gamebook for you.Yeah, that’s right!Learning business and finance need not be boring! The gamebook will test what you have learned and will simulate a real - world environment in which your decisions as a business executive will have real monetary consequences for a company. Can you think of any better way to reinforce what you have learned ? An exciting journey from A-Z. If you are a complete beginner and you know nothing about business or finance, don’t worry at all!In each of the five main modules of the course, we start from the very basics and will gradually build up your knowledge.The course contains plenty of real - life examples and case studies that make it easy to understand.");
            DocumentPage.ClickButton_CheckIn();
            AdminContentDetailsPage.DropDownToggle.ViewAsLearner();
            _test.Log(Status.Info, "Click view as Learner");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isDescriptionDisplay());
            _test.Log(Status.Pass, "Verify Description portlet display in Content Details page Overview Tab");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortlet.ShowMoreLinkdisplay());
            _test.Log(Status.Pass, "Is Show More link display in Description portlet");
            ContentDetailsPage.OverviewTab.DescriptionPortlet.ClickShowMoreLink();
            Assert.IsTrue(ContentDetailsPage.OverviewTab.DescriptionPortlet.ShowlessLinkdisplay());
            _test.Log(Status.Pass, "Is Show less link display in Description portlet");
        }
예제 #22
0
        public void tc_7401_Create_a_new_AICC_course()
        {
            Document documentpage = new Document(driver);
            // driver.UserLogin("admin", browserstr);
            string expectedresult  = "Summary";
            string expectedresult1 = "The course was created.";
            //driver.openadminconsolepage();
            AICC    aicccourse  = new AICC(driver);
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            //    Assert.IsTrue(Driver.checkTagsonContentCreationPage(true));
            GeneralCoursePage.SearchTagForNewContent(tagname + "TC7401");
            _test.Log(Status.Info, "Searching Tag.");
            string actualresult = driver.gettextofelement(By.XPath("//h1[contains(.,'Summary')]"));

            Assert.IsTrue(CreateAICCPage.AvailableinCatalog.isAvailableinCatalogOptionisDisplay());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            Assert.IsTrue(CreateAICCPage.AvailableinCatalog.isChecked());
            _test.Log(Status.Pass, "Verifed Available in Catalog Option is Display");
            CreateAICCPage.Title(AICCCourseTitle + "TC7401");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            //  Assert.IsTrue(Driver.checkContentTagsOnDetailsPage());
            string s = Driver.GetElement(By.XPath("//strong[contains(.,'" + tagname + "TC7401')]")).Text;

            StringAssert.AreEqualIgnoringCase(tagname + "TC7401", s);
            _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(AICCCourseTitle + "TC7401");
            Assert.IsTrue(SearchResultsPage.isSearchResultDisplayed(AICCCourseTitle + "TC7401"));
            _test.Log(Status.Pass, "Verify Created content is Searched");
        }
        public void tc_59282_As_Learner_AICC_Overview_Tab_What_other_content_can_I_take()
        {
            CommonSection.CreateLink.GeneralCourse();
            _test.Log(Status.Info, "Goto Content Creation Page");
            GeneralCoursePage.CreateGeneralCourse(generalcoursetitle + "TC59282", generalcoursetitle + "TC34839");
            _test.Log(Status.Info, "Content Created");
            GeneralCoursePage.AddCourseProvider("Meridian");
            string CourseProvider = ContentDetailsPage.CourseProviderAccodian.CourseProvidername();

            GeneralCoursePage.ClickCheckIn();

            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59282");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");
            GeneralCoursePage.AddCourseProvider("Meridian");
            GeneralCoursePage.ClickCheckIn();

            CommonSection.SearchCatalog('"' + AICCCourseTitle + "TC59282" + '"');
            _test.Log(Status.Info, "Search a content from catalog");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59282");
            _test.Log(Status.Info, "Click on searched content tilte");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isMorelikethisPortletDisplay());
            _test.Log(Status.Pass, "Verify More like this Portlet is displaying in content details Page");
            Assert.IsTrue(ContentDetailsPage.isSameCourseProviderrelatedContentDisplay(CourseProvider));
        }
        public void P20_1_tc_27144_Curriculums_Containing_an_AICC_Course()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC27144");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");
            ContentDetailsPage.Click_Check_in();

            CommonSection.CreteNewCurriculumn(curriculamtitle + "_TC27144");
            _test.Log(Status.Info, "Create A new Curriculum");
            ContentDetailsPage.ClickCurriculumContentEditButton();
            CurriculumContentPage.ClickAddCurriculumBlock();
            CurriculumContentPage.AddCurriculumBlock.AddBlockAs(block + "_UnOrdered" + "_TC27144");
            CurriculumContentPage.AddTrainingActivities_UnOrdered(AICCCourseTitle + "TC27144");

            DocumentPage.ClickButton_CheckIn();

            CommonSection.SearchCatalog(AICCCourseTitle + "TC27144");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC27144");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(AICCCourseTitle + "TC27144"));
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isPartoftheseCollectionDisplay());
            _test.Log(Status.Pass, "Verify is part of these collestion portlet display");
            ContentDetailsPage.OverviewTab.clicktoexpandPartoftheseCollectionPortlet();
            Assert.IsTrue(ContentDetailsPage.OverviewTab.PartoftheseCollection.isContentdisplay(curriculamtitle + "_TC27144"));
            _test.Log(Status.Pass, "Verify Curriculum title is display in part of these collestion portlet");
        }
        public void tc_60021_AICC_Banner_Actions_Access_Keys()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC60021");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            AdminContentDetailsPage.AddCost();
            ContentDetailsPage.ClickEditContent_New19_2();
            ContentDetailsPage.Accordians.ClickEdit_AccessKey();
            AccessKeysPage.EnableAccessKey("Yes").Save();
            DocumentPage.ClickButton_CheckIn();
            //Driver.CreateNewAccount();
            // _test.Log(Status.Info, "Create new user account");
            CommonSection.Logout();
            LoginPage.LoginAs("srlearner105").WithPassword("").Login();
            CommonSection.SearchCatalog(AICCCourseTitle + "TC60021");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC60021");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isAddtoCartbuttondisplay());
            ContentDetailsPage.OverviewTab.click_AddtoCart();

            CommonSection.Completepurchage(AICCCourseTitle + "TC60021");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isOpenItembuttonDisplay());
            ContentDetailsPage.ContentBanner.Click_Enrollbutton();

            Assert.IsTrue(ContentDetailsPage.ContentBanner.isStartbuttonDisplay());
        }
        public void tc_59985_AICC_Banner_Actions_Course_Info_and_Navigation()
        {
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59985");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());

            ContentDetailsPage.Accordians.ClickEdit_Image();
            ImagePage.UploadnewImageFile();
            _test.Log(Status.Info, "Upload any Image file to content");
            StringAssert.AreEqualIgnoringCase("The file was uploaded.", Driver.getSuccessMessage());
            _test.Log(Status.Pass, "Verify feedback message");
            //ContentDetailsPage.AddLocale();   don't have other local in external
            AdminContentDetailsPage.ClickCheckInbutton();
            _test.Log(Status.Info, "Click Check-In");

            CommonSection.SearchCatalog(AICCCourseTitle + "TC59985");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59985");
            Assert.IsTrue(ContentDetailsPage.isBradCrumbdisplay());
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTitledisplay(AICCCourseTitle + "TC59985"));
            _test.Log(Status.Pass, "Verify Content title is display on Banner");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentTypedisplay());
            _test.Log(Status.Pass, "Verify Content type is display on Banner");
            Assert.IsTrue(ContentDetailsPage.ContentBanner.isContentImagedisplay());
            _test.Log(Status.Pass, "Verify Image is display on Banner");
        }
        public void tc_59883_AICC_Overview_Tab_Prerequisites_Training_Assignments_Surveys_Evaluation()
        {
            CommonSection.CreateGeneralCourse(GeneralCourseTitle + "TC59883");
            _test.Log(Status.Info, "Create a general Course for Prerequisite");
            DocumentPage.ClickButton_CheckIn();
            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            _test.Log(Status.Info, "AICC files are uploaded");

            CreateAICCPage.Title(AICCCourseTitle + "TC59883");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            Assert.IsTrue(ContentDetailsPage.IsContentCreated());
            _test.Log(Status.Pass, "Verify New Document is Created");
            ContentDetailsPage.Edit_Prerequisites(GeneralCourseTitle + "TC59883");
            _test.Log(Status.Pass, "Click edit Prerequisite and add Prerequisite");
            //Assert.IsTrue(Driver.comparePartialString(" The selected items were added as prerequisites." +
            //    " If values were entered for any prerequisite's attributes, then these values were saved.", PrerequisitesPage.GetSuccessMessage()));
            //_test.Log(Status.Pass, "Verify  Success message");
            PrerequisitesPage.Click_BreadCrumb();
            _test.Log(Status.Pass, "Click breadcrumbs");
            Assert.IsTrue(ContentDetailsPage.isSurveyAccordiandisplayed());
            _test.Log(Status.Info, "Verify Survey accordian display on RHS side");
            ContentDetailsPage.Accordians.ClickManage_Survey();
            _test.Log(Status.Info, "Click Survey Manage button");
            Assert.IsTrue(SurveysPage.IsSurveyPageCompenetsarepresent("btn_AssignSurverbtn", "resultgrid"));
            _test.Log(Status.Info, "Verify Survey page has Assign Surveys button and result grid has no record");
            SurveysPage.ClickAssignSurveysnew();
            _test.Log(Status.Info, "Click on Assign Surveys Button");
            Assert.IsTrue(SurveysPage.AddSurveyModal.IsSearchfieldsDisplayed());
            _test.Log(Status.Pass, "Verify Search, Result grid, Add button on Add survey Modal");
            string Surveytitle_OnEnroll = SurveysPage.AddSurveyModal.AddSurveystoContentWithAvailabilityas("When learner enrolls");

            _test.Log(Status.Info, "Search Survey and add one survey to content with availability as When learner enrolls");
            SurveysPage.Click_backbutton();
            DocumentPage.ClickButton_CheckIn();

            #region cretate TA
            CommonSection.Manage.Training();
            _test.Log(Status.Info, "Navigate to Manage >> Training Page");
            TrainingPage.TrainingAssignments.Click_CreateTrainingAssignment();
            _test.Log(Status.Info, "Click Create Training Assignment link from training assignment portlet");
            CreateTrainingAssignmentPage.Create(TATitle + "_TC59883");
            _test.Log(Status.Info, "A new training assignement created as draft");
            CreateTrainingAssignmentPage.ContentTab.ClickAddContent();
            _test.Log(Status.Info, "Click Add Content");
            CreateTrainingAssignmentPage.ContentTab.AddContentModal.AddContent(AICCCourseTitle + "TC59883");
            _test.Log(Status.Info, "Content added to training assignment");
            CreateTrainingAssignmentPage.AssignessTab.ClickAddAssignees();
            _test.Log(Status.Info, "Click Add Assignees button in Assignees tab");
            CreateTrainingAssignmentPage.AssignessTab.AddAssignessModal.AddAssigne("learner 101");
            _test.Log(Status.Info, "A user added to training assignment");
            CreateTrainingAssignmentPage.DueDateTab.ClickChage();
            _test.Log(Status.Info, "Click Chage button in Due Date tab");
            string previousCompletions = CreateTrainingAssignmentPage.DueDateTab.AssignmentDueDateModal.SetPreviousCompletionsYesandRecurringNo("days");
            _test.Log(Status.Info, "Set Previous Completions count and save for Non recurring assignement");
            CreateTrainingAssignmentPage.ClickDueDateTab();
            _test.Log(Status.Info, "Click Chage button in Due Date tab");
            Assert.IsTrue(CreateTrainingAssignmentPage.DueDateTab.VerifyPreviousComplistion(previousCompletions));
            _test.Log(Status.Pass, "Verify Copletion count saved properly");
            CreateTrainingAssignmentPage.clickAssignButton();
            #endregion

            CommonSection.Logout();
            LoginPage.LoginAs("srlearner101").WithPassword("").Login();

            CommonSection.SearchCatalog(AICCCourseTitle + "TC59883");
            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC59883");
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isTrainingAssignmentportletDisplay());
            Assert.IsTrue(ContentDetailsPage.OverviewTab.TrainingAssignment.isDuedatedisplay());
            Assert.IsTrue(ContentDetailsPage.OverviewTab.isPrerequisitePortletDisplay());
            Assert.IsTrue(ContentDetailsPage.OverviewTab.issurveyPortletisDisplay());
        }
예제 #28
0
        public void tc_7402_Manage_an_AICC_course()
        {
            Document documentpage = new Document(driver);

            Scorm12 CreateScorm = new Scorm12(driver);

            CommonSection.CreateLink.AICC();
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.au", By.Id("ctl00_MainContent_UC1_rau_aufile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.crs", By.Id("ctl00_MainContent_UC1_rau_crsfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.cst", By.Id("ctl00_MainContent_UC1_rau_cstfile0"));
            driver.navigateAICCfile("Data\\mv_mvet_a03_it_enus.des", By.Id("ctl00_MainContent_UC1_rau_desfile0"));
            CreateScorm.buttoncreateclick(driver, true);
            CreateAICCPage.Title(AICCCourseTitle + "TC7402");
            EditSummaryPage.ClickSavebutton();
            _test.Log(Status.Info, "Create a new AICC Course");
            CommonSection.Manage.Training();
            TrainingPage.SearchRecord(AICCCourseTitle + "TC7402");

            SearchResultsPage.ClickCourseTitle(AICCCourseTitle + "TC7402");
            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 + "TC7402");
            CreateAICCPage.AvailableinCatalog.ClicktoUncheck();
            SummaryPage.ClickSavebutton();
            //_test.Log(Status.Info, "Searching Tag.");
            //if (!driver.existsElement(By.XPath("//*[@id='MainContent_MainContent_UC1_FormView1_CNTLCL_DESCRIPTION']")))
            //{
            //    //driver.SelectFrame();
            //    driver.GetElement(By.CssSelector("body")).ClickWithSpace();
            //    driver.GetElement(By.CssSelector("body")).SendKeysWithSpace(ExtractDataExcel.MasterDic_genralcourse["Desc"]);
            //    //  driver.SwitchTo().DefaultContent();
            //}
            //else
            //{
            //    driver.GetElement(By.XPath("//*[@id='MainContent_UC1_FormView1_CNTLCL_DESCRIPTION']")).SendKeysWithSpace(ExtractDataExcel.MasterDic_genralcourse["Desc"]);
            //}
            //driver.ClickEleJs(By.XPath("//input[@id='MainContent_MainContent_UC1_Save']"));
            //// driver.SwitchTo().DefaultContent();
            //driver.WaitForElement(By.XPath("//*[contains(@class,'alert alert-success')]"));


            //driver.Checkin();
            // Assert.IsTrue(Driver.checkContentTagsOnDetailsPage());
            string s = Driver.GetElement(By.XPath("//strong[contains(.,'" + tagname + "TC7402')]")).Text;

            StringAssert.AreEqualIgnoringCase(tagname + "TC7402", s);

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

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