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); }
public JobDetailsFormHelper() { JobTitle = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/div/div[3]/div[1]/h1"); Country = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[1]"); State = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[2]"); City = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[3]"); Category = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[4]"); RequiredEducation = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[5]"); PositionType = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[6]"); EmploymentType = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[7]"); ContractType = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[8]"); ReqId = LabelControl <JobDetailsFormHelper> .CreateByXPath(formHelper : this, xPath : "/html/body/div[1]/main/div[2]/aside/section/ul/li[9]"); ApplyNowButton = ButtonControl <ConnectCommunityFormHelper> .CreateByXPath(formHelper : new ConnectCommunityFormHelper(), xPath : "/html/body/div[1]/main/div[2]/aside/div[2]"); }