Пример #1
0
        public void GivenIFilterTheCandidateWithEEJob(int p0)
        {
            IWebElement E2EJob = MyDriver.getElementByName(BasePage.CandidatePO.listJobFilter, "E2E Job");

            E2EJob.Click();
            Thread.Sleep(1000);
            BasePage.CandidatePO.iconCloseFilterPanel.Click();
        }
        public void WhenISelectDate()
        {
            BasePage.JobDetailPO.nextMonthIcon.Click();
            string monthAndYear = BasePage.JobDetailPO.calendarTitle.Text;

            string day = MyDriver.getElementByName(BasePage.JobDetailPO.selectDay, "10").Text;

            MyDriver.getElementByName(BasePage.JobDetailPO.selectDay, "10").Click();

            date = day + " " + monthAndYear;
        }
        public void addApplicationIntoCandidate()
        {
            iconAddApplication.Click();
            MyDriver.wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath("//span[contains(.,'Select job')]")));
            dropdownAssignJob.Click();
            IWebElement AccountantApplication = MyDriver.getElementByName(listAssignJob, "Accountant");

            AccountantApplication.Click();
            MyDriver.wait.Until(ExpectedConditions.ElementToBeClickable(By.CssSelector(".job-application-card__submit .button--primary")));
            btnAddApplication.Click();
        }