Exemple #1
0
        public static JobDetailsFormHelper Open(string jobId)
        {
            var jobs = new JobResult[] { };

            SearchJobFormHelper
            .Open()
            .ExperienceLevel.SetValue(ExperienceLevelEnum.None)
            .JobCategory.SetValue(JobCategoryEnum.None)
            .JobCountry.SetValue(JobCountryEnum.None)
            .KeyWordSearch.SetValue(jobId)
            .SearchButton.Click()
            .JobResults.GetValue(out jobs);

            var job = jobs[0];
            var jobDetailsFormHelper = job.ClickOnLink();

            return(jobDetailsFormHelper);
        }
Exemple #2
0
        public static ConnectCommunityFormHelper Open(string jobId)
        {
            var jobs = new JobResult[] { };

            SearchJobFormHelper
            .Open()
            .ExperienceLevel.SetValue(ExperienceLevelEnum.None)
            .JobCategory.SetValue(JobCategoryEnum.None)
            .JobCountry.SetValue(JobCountryEnum.None)
            .KeyWordSearch.SetValue(jobId)
            .SearchButton.Click()
            .JobResults.GetValue(out jobs);

            var job = jobs[0];
            var jobDetailsFormHelper = job.ClickOnLink();

            var connectComunnityFormHelper = jobDetailsFormHelper.ApplyNowButton.Click(switchToLastOpenedWindow: true);

            return(connectComunnityFormHelper);
        }