public void a07_Create_new_job_title_with_default_value_and_assign_to_a_career_path_33920() { //login with a admin CareersPage.CreateCareerPath(CareerPathTitle + "TC33920"); CreateCareerPathPage.LevelsandjobtitlesTab.ClickCreateLevel(); //inside frame CommonSection.Manage.ProfessionalDevelopment(); _test.Log(Status.Info, "Navigating to Career page"); CareersPage.ClickJobTitleTab(); _test.Log(Status.Info, "Open Job Title tab on Career page"); CareersPage.ClickCreateJobTitleButton(); _test.Log(Status.Info, "Click Create Job title button from Jobtitle tab"); ManageJobTitlePage.CompetenciesTab.ClickCareerPath("None Selected"); ManageJobTitlePage.CompetenciesTab.SearchandSelect(CareerPathTitle + "TC33920"); ManageJobTitlePage.CompetenciesTab.clickyescheckmark(); _test.Log(Status.Info, "Click on none selected career path from competencies tab, search CP_demo_2006 and select level 2"); Assert.IsTrue(Driver.comparePartialString("Success", Driver.getSuccessMessage())); //StringAssert.AreEqualIgnoringCase("The selected items were added.", UnnamedJobtitled23Page.VerifyText("")); _test.Log(Status.Info, "Verify success message"); StringAssert.AreEqualIgnoringCase(CareerPathTitle + "TC33920", ManageJobTitlePage.VerifyCareerpathText(CareerPathTitle + "TC33920")); _test.Log(Status.Info, "Verify Saved career path"); StringAssert.AreEqualIgnoringCase("Level 1", ManageJobTitlePage.VerifyLevelText("Level 1")); _test.Log(Status.Info, "Verify Saved career path Level"); String Jobtitletext = ManageJobTitlePage.getJobTitletext(); ManageJobTitlePage.ClickCareerBreadcrumb(); CareersPage.ClickCareerPathTab(); _test.Log(Status.Info, "Navigating to Career Path Tab"); CareersPage.CareerPathTab.SearchCareerPath(CareerPathTitle + "TC33920"); CareersPage.CareerPathTab.ClickSearchResult(CareerPathTitle + "TC33920"); _test.Log(Status.Info, "search and open career path"); CreateCareerPathPage.LevelsandjobtitlesTab.ExpandLevel1(); // CP_demo_2006Page.ClickLevel2Expandlink(); _test.Log(Status.Info, "Expand level 1 for this career path"); StringAssert.AreEqualIgnoringCase(Jobtitletext, CreateCareerPathPage.LevelsandjobtitlesTab.Level.JobtitletextinsideLevel1(Jobtitletext)); _test.Log(Status.Info, "Verify career path name"); CareersPage.DeleteCareerPath(CareerPathTitle + "TC33920"); CareersPage.DeleteJobTitle(Jobtitletext); }