Exemple #1
0
        public void P20_1_a06_View_job_Title_page_32179()

        {
            CareersPage.CreateJobTitle(JobTitle + "TC32179");

            CommonSection.Manage.ProfessionalDevelopment();
            _test.Log(Status.Info, "Open Career Menu Page");
            CareersPage.ClickJobTitleTab();
            _test.Log(Status.Info, "Click on Job Title Tab");
            CareersPage.SearchJobtitle(JobTitle + "TC32179");
            _test.Log(Status.Info, "Search Job Title");
            CareersPage.ClickJobtitle(JobTitle + "TC32179");
            _test.Log(Status.Info, "Clicked on Searched Job Title");
            //CareersPage.EditJobTitleName(JobTitle);
            //_test.Log(Status.Info, "Perform Blank Search");
            StringAssert.AreEqualIgnoringCase(JobTitle + "TC32179", AdminContentDetailsPage.JobTitle_Title(), "Title Not Matched");
            _test.Log(Status.Pass, "Matched Job Title ");
            Assert.IsTrue(AdminContentDetailsPage.CompetenciesTabDisplay());
            _test.Log(Status.Pass, "Competencies tab Display on Job Title Details page");
            Assert.IsTrue(AdminContentDetailsPage.JobDetailstabDisplay());
            _test.Log(Status.Pass, "Job Details tab Display on Job Title Details page");

            //Deleted Job title After test complete
            CareersPage.DeleteJobTitle(JobTitle + "TC32179");
            _test.Log(Status.Info, "Job Title Deleted");
            StringAssert.AreEqualIgnoringCase("No matching records found", CareersPage.NoMatchingJobTitleFound("No matching records found"));
            _test.Log(Status.Pass, "Verify No matching records found message display after job title deleted");
        }