public void a09_Restart_Linear_Curriculum_Transcript__35878() { CommonSection.Learn.Transcript(); _test.Log(Status.Pass, "Click transcript from Learn tab"); TranscriptPage.ClickCurriculumsTab(); TranscriptPage.CurriculumTab.ClickEnrollmentDate(); TranscriptPage.CurriculumTab.ClickEnrollmentDate(); TranscriptPage.AllTrainingTab.ClickContent(curriculamtitle + "TC35888"); _test.Log(Status.Pass, "Click on the selected Content"); // Assert.IsTrue(ContentDetailsPage.IsRestartCurriculumDisplayed()); // _test.Log(Status.Pass, "Verify Restart Curriculum is Displayed"); // ContentDetailsPage.ClickRetakeCurriculum_DissmissAlert(); // _test.Log(Status.Pass, "Click restart Curriculum"); // ContentDetailsPage.ClickRetakeCurriculum_AcceptAlert(); // _test.Log(Status.Pass, "Click restart Curriculum"); Assert.IsTrue(ContentDetailsPage.CurriculumContentTab.VerifyStatus(generalcoursetitle + "TC35890", "Enrolled")); _test.Log(Status.Pass, "Verify Status of the content of content Block"); Assert.IsTrue(ContentDetailsPage.CurriculumContentTab.VerifyStatus(generalcoursetitle + "TC35890ak", "Enrolled")); _test.Log(Status.Pass, "Verify Status of the content of content Block"); ContentDetailsPage.Click_HistoryTab_Curriculum(); _test.Log(Status.Pass, "Click History Tab"); Assert.IsTrue(ContentDetailsPage.HistoryTab.VerifyRestartedCurriculum()); _test.Log(Status.Pass, "Verify in history tab Curriculum is restarted is mentioned"); }
public void tc_60959_Create_External_Learning_item_from_Development_Plan_when_Auto_Approve_setting_is_True_or_ON() { CommonSection.Learn.CareerDevelopment(); Assert.IsTrue(ProfessionalDevelopmentPage.isDevelopmentPlanportletdisplay()); _test.Log(Status.Pass, "Verify Development plan portlet display"); ProfessionalDevelopmentPage.DevelopmentPlan.ClickCreatePlan(); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContentDropdown(); Assert.IsTrue(ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContent.isExternalLearneingoptiondisplay()); _test.Log(Status.Pass, "Verify user can see any external learning option"); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContent.clickExternallearning(); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContent.SubmitExtrernalLearning(ExtlearningTitle); Assert.IsTrue(ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.isExternallearnersubmitted()); _test.Log(Status.Pass, "Verify external learning is submitted"); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickContentTitle(ExtlearningTitle); Assert.IsTrue(ContentDetailsPage.isContentPageDisplayed()); CommonSection.Learn.Transcript(); TranscriptPage.ClickExternalLearningTab(); Assert.IsTrue(TranscriptPage.ExternalLearning.isTitledisplay(ExtlearningTitle)); _test.Log(Status.Pass, "Verify external learning is display on Transcript"); CommonSection.Administer.TrainingManagement.ClickExternalLearningRequests(); ExternalLearningConsolePage.SearchUser("admin"); Assert.IsTrue(ExternalLearningConsolePage.isExternalLearningdisplay(ExtlearningTitle)); _test.Log(Status.Pass, "Verify external learning is display"); TC60939 = true; }
public void Learner_Views_Certificate_For_ReCertification_Completed_By_Fulfilling_Required_Amount_Of_Credit_Type_Hours_33956() //Certification and Re-Certification created with completion criteria as Total Credit hours is achieved. User has already completed the certification and Re-Certification { // LoginPage.LoginAs("reguser").WithPassword("").Login(); //Login as regular user (Learner) // CommonSection.Home.CertificationPortlet(); CommonSection.Learn.ClickHome(); HomePage.CertificationPortlet.For("testcert_0709").ClickViewDetailsButton(); Assert.IsTrue(ContentDetailsPage.RecertificationCriteriaPortlet.isTextDisplayed("3 sa_credittype")); ContentDetailsPage.ClickReCertifybutton(); Assert.IsTrue(ContentDetailsPage.isProgressDisplayed("0")); CommonSection.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("0%")); Assert.IsTrue(HomePage.CurrentTrainingPortlet.For("testcert_0709").IsProgress("0%")); Assert.IsTrue(HomePage.CertificationContentPortlet.For("testcert_0709").IsProgressCount("1")); HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); // Assert.IsTrue(CertificationDetailPage); ContentDetailsPage.ClickFindQualifyingContentButton(); // // Assert.IsTrue(SearchResultsPage.CheckSearchRecord.CreditTypeHours); //Verify the Search Results display with all the course records with CreditTypes and Hours SearchResultsPage.ClickCourseTitle("testgen1"); //From Search Results page click on the Title of the Course which qualifies for the Credit Type Hours ContentDetailsPage.EnrolGeneralCourse(); ContentDetailsPage.LaunchGenralCourse(); ContentDetailsPage.MarkCompleteGeneralCourse();// Enroll, Launch, and Completed the course CommonSection.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("Certified")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("100%")); CommonSection.ClickTranscript(); TranscriptPage.ClickCertificationsTab(); Assert.IsTrue(TranscriptPage.CertificationTab.For("testcert_0709").isCertificationStatus("Certified")); Assert.IsTrue(TranscriptPage.CertificationTab.For("testcert_0709").isCertificationProgress("100% Completed")); // CommonSection.Logout(); }
public void P20_1_a10_Curriculum_Leamer_Navigates_to_Content_Details_Page_Via_Transcript_57860() { CommonSection.Logout(); LoginPage.LoginAs("srlearner101").WithPassword("").Login(); CommonSection.Learn.Transcript(); TranscriptPage.ClickCurriculumsTab(); TranscriptPage.CurriculumTab.ClickCurriculumtitle("test_curri_3005"); Assert.IsTrue(ContentDetailsPage.isContentTabSelected()); }
public void tc_61102_Submit_External_Learning_item_from_Transcript_when_Auto_Approve_setting_is_True_or_ON() { CommonSection.Learn.Transcript(); TranscriptPage.ClickExternalLearningTab(); TranscriptPage.ExternalLearning.SubmitExternalLearning(ExtlearningTitle + "TC61102"); CommonSection.Learn.Transcript(); TranscriptPage.ClickExternalLearningTab(); Assert.IsTrue(TranscriptPage.ExternalLearning.isTitledisplay(ExtlearningTitle + "TC61102")); _test.Log(Status.Pass, "Verify external learning is display on Transcript"); }
public void z16_Lunch_Curriculum_Transcript_26855() { CommonSection.Learner.Transcript(); _test.Log(Status.Info, "Navigate to Transcript Page"); TranscriptPage.ClickCurriculumsTab(); _test.Log(Status.Info, "Click Curriculums tab on Transcript Page"); TranscriptPage.CurricumnPortlet.ClickCurriculumTitle(); Assert.IsTrue(ContentDetailsPage.ContentDetailsPageOpened()); _test.Log(Status.Pass, "Verify Content Datails Page is opened"); }
public void z15_View_Transcript_Curriculums_26150() { CommonSection.Learner.Transcript(); _test.Log(Status.Info, "Navigate to Transcript Page"); TranscriptPage.ClickCurriculumsTab(); _test.Log(Status.Info, "Click Curriculums tab on Transcript Page"); Assert.IsTrue(TranscriptPage.CurricumnPortlet.VerifyColumnTitles()); Assert.IsTrue(TranscriptPage.CurricumnPortlet.Verifyrecorddisplay()); _test.Log(Status.Pass, "Verify result table and existing record are display on Transcript Page"); }
public void a02_Learner_experience_certification_where_admit_set_certificate_be_automatically_granted_upon_content_completion_is_No_57970() { CommonSection.Logout(); LoginPage.LoginAs("").WithPassword("").Login(); CommonSection.CreateLink.GeneralCourse(); _test.Log(Status.Info, "Creating a Paid General Course"); GeneralCoursePage.CreateGeneralCourse(generalcoursetitle + "TC57970", "Test General Course"); DocumentPage.ClickButton_CheckIn(); CommonSection.CreateLink.Certifications(); _test.Log(Status.Info, "Click create>certification"); CertificationPage.FillTitle(CertificatrTitle + "TC57970"); _test.Log(Status.Info, "Fill title"); Assert.IsTrue(CertificationPage.isShouldthecertificatebeautomaticallygranteduponcontentcompletion_lavelDisplay()); //AC1 Assert.IsTrue(CertificationPage.automaticallygrantedcertificationDefaultValue("Yes")); //AC3 CertificationPage.SelectautomaticallygrantedcertificationDefaultValue("No"); CertificationPage.ClickCreateCertification(); _test.Log(Status.Info, "Click create"); CertificatePage.addContentIntoCertificate(generalcoursetitle + "TC57970"); CertificatePage.Click_backbutton(); ContentDetailsPage.ClickCheckInbutton(); CommonSection.Logout(); LoginPage.LoginAs("srlearner103").WithPassword("").Login(); //Login as regular user (Learner) CommonSection.SearchCatalog('"' + CertificatrTitle + "TC57970" + '"'); _test.Log(Status.Info, "Searched" + CertificatrTitle + "TC57970" + "from Catalog"); SearchResultsPage.ClickCourseTitle(CertificatrTitle + "TC57970"); _test.Log(Status.Info, "Clicked searched course title"); ContentDetailsPage.ClickAccessItemButton_Certi(); ContentDetailsPage.ContentItemsPortlet.ClickItemTitle(generalcoursetitle + "TC57970"); ContentDetailsPage.ClickEnroll_CerficationGeneralCourse(); AdminContentDetailsPage.ClickOpenNewAttemptbutton.CompleteContent_Certification(); CertificationDetailsPage.ClickBreadCrumb(); Assert.IsTrue(ContentDetailsPage.certificationProgress() == "100% Completed"); //AC4 Assert.IsFalse(ContentDetailsPage.IsViewCertificateButtondisplay()); //AC5 //AC5 //ContentDetailsPage.Click_HistoryTab_Curriculum(); //Assert.IsFalse(ContentDetailsPage.HistoryTab.isViewCertificateButtonDisplay()); //AC6 CommonSection.Transcript(); TranscriptPage.ClickCertificationsTab(); TranscriptPage.CertificationTab.sortbyDate("as"); Assert.IsTrue(TranscriptPage.CertificationTab.isCertificationStatus(CertificatrTitle + "TC57970") == "Pending"); //AC7 }
public void z17_Curriculums_View_Certificate_26853() { CommonSection.Learner.Transcript(); _test.Log(Status.Info, "Navigate to Transcript Page"); TranscriptPage.ClickCurriculumsTab(); _test.Log(Status.Info, "Click Curriculums tab on Transcript Page"); TranscriptPage.CurricumnPortlet.ClickCurriculumTitle(); Assert.IsTrue(ContentDetailsPage.ContentDetailsPageOpened()); _test.Log(Status.Pass, "verify Content Details page opened"); //ContentDetailsPage.Click_OpenNewAttempt(); //ContentDetailsPage.CurriculumnBlocks.LunchCourse(); //ContentDetailsPage.CompleteLunchedCourse(); //_test.Log(Status.Info, "Lunched the course attached and complete it"); //ContentDetailsPage.ClickBrowserBackButton(); //ContentDetailsPage.ClickBrowserBackButton(); //_test.Log(Status.Info, "Click Browse back button"); ContentDetailsPage.Click_CiewCertificate(); _test.Log(Status.Info, "Click View Certificate"); Assert.IsTrue(ContentDetailsPage.VerifyCertificateisOpened()); _test.Log(Status.Pass, "Verify Certificate is opened"); }
public void P20_1_z02_View_Transcript_20487() { CommonSection.Logout(); LoginPage.LoginAs("userreg_0210112911anybrowser").WithPassword("").Login(); CommonSection.Transcript(); _test.Log(Status.Info, "Navigate to Transcript Page"); StringAssert.AreEqualIgnoringCase("Transcript", TranscriptPage.pagetitle()); _test.Log(Status.Pass, "Verify page title is Transcript"); Assert.IsTrue(TranscriptPage.AllComponetsdisplay()); _test.Log(Status.Pass, "Verify all componets of Transcript page is display"); //TranscriptPage.AllMyTrainingPage.ClickSaveasPDF(); //_test.Log(Status.Info, "Click on Save as PDF button"); //Driver.Instance.SwitchWindow("Untitled - Google Chrome"); //Assert.IsTrue(TranscriptAllMyTrainingPrintPage.Title.EndsWith("AllMyTrainingPrint.aspx")); //TranscriptAllMyTrainingPrintPage // Driver.focusParentWindow(); // _test.Log(Status.Info, "CLose window meridian global reporting page"); //CommonSection.Logout(); //_test.Log(Status.Info, "Logout from learner"); //LoginPage.LoginAs("siteadmin").WithPassword("").Login(); //_test.Log(Status.Info, "Login as Admin"); }
public void tc_60964_I_want_to_see_and_remove_external_learning_items_from_my_plan() { CommonSection.Learn.CareerDevelopment(); Assert.IsTrue(ProfessionalDevelopmentPage.isDevelopmentPlanportletdisplay()); _test.Log(Status.Pass, "Verify Development plan portlet display"); ProfessionalDevelopmentPage.DevelopmentPlan.ClickCreatePlan(); ProfessionalDevelopmentPage.ProfecionalFocus.AddContent.clickExternallearning(); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContent.SubmitExtrernalLearning(ExtlearningTitle + "TC60964"); Assert.IsTrue(ProfessionalDevelopmentPage.ProfecionalFocus.isExternallearnersubmitted()); _test.Log(Status.Pass, "Verify external learning is submitted"); Assert.IsTrue(ProfessionalDevelopmentPage.ProfecionalFocus.isRemoveExternalLearningicondisplay()); ProfessionalDevelopmentPage.ProfecionalFocus.RemoveExternalLearning(); CommonSection.Learn.Transcript(); TranscriptPage.ClickExternalLearningTab(); Assert.IsTrue(TranscriptPage.ExternalLearning.isTitledisplay(ExtlearningTitle + "TC60964")); _test.Log(Status.Pass, "Verify external learning is display on Transcript"); CommonSection.Administer.Training.ContentConfiguration.ContentSettings(); _test.Log(Status.Info, "Goto Administer > Training >Content Configuration>Content Settings Page"); Assert.IsTrue(ContentSettingsPage.isExternalLearningcontenttobesubmittedforapproval("True")); ContentSettingsPage.SetExternalLearningcontenttobesubmittedforapproval("False"); ContentSettingsPage.ClickSave(); }
public void Learner_Views_Certificate_For_Certification_Completed_By_Fulfilling_Required_Amount_Of_Credit_Type_Hours_33944() //Certification created with completion criteria as Total Credit hours is achieved. User has already completed the certification { // LoginPage.LoginAs("reguser").WithPassword("").Login(); //Login as regular user (Learner) // CommonSection.Home.CertificationPortlet(); //Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("Certified")); //Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("100%")); //HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); ////Assert.IsTrue(ContentDetailsPage.isStatus("Certified")); //Assert.IsTrue(ContentDetailsPage.isProgress("100% Completed")); CommonSection.ClickTranscript(); TranscriptPage.ClickCertificationsTab(); //Assert.IsTrue(TranscriptPage.CertificationTab.isCertificationStatus("Certified")); //Assert.IsTrue(TranscriptPage.CertificationTab.isProgress("100% Completed")); TranscriptPage.CertificationTab.ClickViewCertificateButton(); Driver.Instance.SwitchWindow("Certificate"); string s = Driver.Instance.Title; StringAssert.AreEqualIgnoringCase("Certificate", s); TranscriptPage.CloseCertificationWindow(); Driver.Instance.SwitchtoDefaultContent(); Assert.IsTrue(TranscriptPage.CertificateWindowIsClosed("Transcript")); }
public void Learner_Views_Their_Certification_Progress_33943() //Certification created with completion criteria as Total Credit hours achieved { CommonSection.Logout(); Driver.CreateNewAccount(); LoginPage.LoginAs(Meridian_Common.NewUserId).WithPassword("").Login(); //Login as regular user (Learner) CommonSection.SearchCatalog("testcert_0709"); // CatalogSearch.EnterSearchText"Certification".ClickSearch(); //Search for the certification with completion criteria is based on Total Credit Hours // Assert.IsTrue(SearchResultsPage.ListofSearchResults); //Verify the certification is displayed SearchResultsPage.ClickCourseTitle("testcert_0709"); //SearchResultsPage.CheckSearchRecord("Certification"); ContentDetailsPage.ClickAccessItemButton(); Assert.IsTrue(ContentDetailsPage.isProgressDisplayed("0%")); CommonSection.Learn.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("In Progress")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("0%")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsRequiredCount(3)); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsEarnedCount(0)); // Assert.IsTrue(HomePage.CertificationPortlet.Status("InProgress").Progress("0%")); CommonSection.ClickCurrentTraining(); //Assert.IsTrue(HomePage.CurrentTrainingPortlet.For("Automation Certification").IsStatus("InProgress")); Assert.IsTrue(HomePage.CurrentTrainingPortlet.For("testcert_0709").IsProgress("0%")); // Assert.IsTrue(HomePage.CurrentTrainingPortlet.Status("InProgress").Progress("0%")); //testgen1 CommonSection.ClickHome(); HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); // Assert.IsTrue(CertificationDetailPage); ContentDetailsPage.ClickFindQualifyingContentButton(); // // Assert.IsTrue(SearchResultsPage.CheckSearchRecord.CreditTypeHours); //Verify the Search Results display with all the course records with CreditTypes and Hours SearchResultsPage.ClickCourseTitle("testgen1"); //From Search Results page click on the Title of the Course which qualifies for the Credit Type Hours ContentDetailsPage.EnrolGeneralCourse(); ContentDetailsPage.LaunchGenralCourse(); ContentDetailsPage.MarkCompleteGeneralCourse();// Enroll, Launch, and Completed the course CommonSection.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("In Progress")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("33%")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsRequiredCount(3)); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsEarnedCount(1)); //testgen2 HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); // Assert.IsTrue(CertificationDetailPage); ContentDetailsPage.ClickFindQualifyingContentButton(); // // Assert.IsTrue(SearchResultsPage.CheckSearchRecord.CreditTypeHours); //Verify the Search Results display with all the course records with CreditTypes and Hours SearchResultsPage.ClickCourseTitle("testgen2"); //From Search Results page click on the Title of the Course which qualifies for the Credit Type Hours ContentDetailsPage.EnrolGeneralCourse(); ContentDetailsPage.LaunchGenralCourse(); ContentDetailsPage.MarkCompleteGeneralCourse();// Enroll, Launch, and Completed the course CommonSection.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("In Progress")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("67%")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsRequiredCount(3)); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsEarnedCount(2)); //testgen3 HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); // Assert.IsTrue(CertificationDetailPage); ContentDetailsPage.ClickFindQualifyingContentButton(); // // Assert.IsTrue(SearchResultsPage.CheckSearchRecord.CreditTypeHours); //Verify the Search Results display with all the course records with CreditTypes and Hours SearchResultsPage.ClickCourseTitle("testgen3"); //From Search Results page click on the Title of the Course which qualifies for the Credit Type Hours ContentDetailsPage.EnrolGeneralCourse(); ContentDetailsPage.LaunchGenralCourse(); ContentDetailsPage.MarkCompleteGeneralCourse();// Enroll, Launch, and Completed the course CommonSection.ClickHome(); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsStatus("Certified")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsProgressStatus("100%")); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsRequiredCount(3)); Assert.IsTrue(HomePage.CertificationPortlet.For("testcert_0709").IsEarnedCount(3)); // Assert.IsTrue(HomePage.CertificationPortlet.Status("Certified").Progress("100% Completed")); HomePage.CertificationPortlet.ClickViewDetailsButtonofCertificationTitle("testcert_0709", "View Details"); //Assert.IsTrue(ContentDetailsPage.isStatus("Certified")); Assert.IsTrue(ContentDetailsPage.isProgress("100% Completed")); // Assert.IsTrue(CertificationDetailPage.Status("Certified").Progress("100% Completed")); CommonSection.ClickTranscript(); TranscriptPage.ClickCertificationsTab(); Assert.IsTrue(TranscriptPage.CertificationTab.For("testcert_0709").isCertificationStatus("Certified")); Assert.IsTrue(TranscriptPage.CertificationTab.For("testcert_0709").isCertificationProgress("100% Completed")); // Assert.IsTrue(TranscriptPage.CertificationsTab.Certification.Status("Certified").Progress("100% Completed")); learner_view_required_credit = true; }