public void tc_60961_Create_External_Learning_item_from_Development_Plan_when_both_External_Learning_option_is_False() { CommonSection.Administer.Training.ContentConfiguration.ContentSettings(); _test.Log(Status.Info, "Goto Administer > Training >Content Configuration>Content Settings Page"); Assert.IsTrue(ContentSettingsPage.isExternalLearningcontenttobesubmittedforapproval("False")); Assert.IsFalse(ContentSettingsPage.isAutoapproveExternalLearningsubmissionsisNonedititable()); _test.Log(Status.Pass, "Verify Auto approve External Learning submissions is Non edititable"); CommonSection.Learn.CareerDevelopment(); Assert.IsTrue(ProfessionalDevelopmentPage.isDevelopmentPlanportletdisplay()); _test.Log(Status.Pass, "Verify Development plan portlet display"); ProfessionalDevelopmentPage.DevelopmentPlan.ClickCreatePlan(); ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContentDropdown(); Assert.IsFalse(ProfessionalDevelopmentPage.PendingDevPlan.GeneralDevelopment.ClickAddContent.isExternalLearneingoptiondisplay()); _test.Log(Status.Pass, "Verify user can't see any external learning option"); }
public void tc_60926_As_an_Admin_I_want_my_site_to_auto_approve_external_learning_requests() { CommonSection.Administer.Training.ContentConfiguration.ContentSettings(); _test.Log(Status.Info, "Goto Administer > Training >Content Configuration>Content Settings Page"); Assert.IsTrue(ContentSettingsPage.isExternalLearningcontenttobesubmittedforapproval("False")); Assert.IsFalse(ContentSettingsPage.isAutoapproveExternalLearningsubmissionsisNonedititable()); _test.Log(Status.Pass, "Verify Auto approve External Learning submissions is Non edititable"); ContentSettingsPage.SetExternalLearningcontenttobesubmittedforapproval("True"); Assert.IsTrue(ContentSettingsPage.isAutoapproveExternalLearningsubmissionsisNonedititable()); _test.Log(Status.Pass, "Verify Auto approve External Learning submissions is edititable"); Assert.IsTrue(ContentSettingsPage.isAutoapproveExternalLearningsubmissions("False")); ContentSettingsPage.SetAutoapproveExternalLearningsubmissions("True"); ContentSettingsPage.ClickSave(); CommonSection.Administer.Training.ContentConfiguration.ContentSettings(); _test.Log(Status.Info, "Goto Administer > Training >Content Configuration>Content Settings Page"); Assert.IsTrue(ContentSettingsPage.isExternalLearningcontenttobesubmittedforapproval("True")); Assert.IsFalse(ContentSettingsPage.isAutoapproveExternalLearningsubmissionsisNonedititable()); _test.Log(Status.Pass, "Verify Auto approve External Learning submissions is edititable"); // ContentSettingsPage.SetExternalLearningcontenttobesubmittedforapproval("False"); // ContentSettingsPage.ClickSave(); }
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(); }