Пример #1
0
        public SearchJobFormHelper()
        {
            ExperienceLevel = ComboInputControl <ExperienceLevelEnum, SearchJobFormHelper> .CreateById(formHelper : this, id : "Experience-Level");

            JobCategory = ComboInputControl <JobCategoryEnum, SearchJobFormHelper> .CreateById(formHelper : this, id : "Job-Category");

            JobCountry = ComboInputControl <JobCountryEnum, SearchJobFormHelper> .CreateById(formHelper : this, id : "Job-Country");

            KeyWordSearch = StringInputControl <SearchJobFormHelper> .CreateById(formHelper : this, id : "keyword-search");

            SearchButton = ButtonControl <SearchJobFormHelper> .CreateById(formHelper : this, id : "btnSearch");

            JobResults = GridControl <JobResult, SearchJobFormHelper> .CreateByXPath(xPath : "/html/body/div[1]/main/div[2]/table", formHelper : this);

            NoJobsMessage = LabelControl <SearchJobFormHelper> .CreateByXPath(xPath : "/html/body/div[1]/main/p", formHelper : this);
        }