Ejemplo n.º 1
0
        /// <summary>
        /// Filling the details in the conatct page
        /// </summary>
        public void FillTheDetails()
        {
            IWantToDropDown.Click();
            IWantToDropDownOption.Click();

            WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));

            wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath(".//*[@id='contactForm']/div[4]/div[2]/div[2]/div/div[1]/button")));

            ChangeButton.Click();
            ChangeButtonOption.Click();
            CurrentBenifitButton.Click();
            CurrentBenifitButtonOption.Click();

            DedutioPerDay.SendKeys(ExcelOperation.GetData[3]);
            PayDatePerChange.Click();
            EmailID.Clear();
            EmailID.SendKeys(ExcelOperation.GetData[4]);

            PreferedContact.Click();
            MessageBox.SendKeys(ExcelOperation.GetData[5]);

            if (SubmitMessage.Text != "Submit")
            {
                throw new Exception();
            }
        }
Ejemplo n.º 2
0
 public void ClickChangeButton()
 {
     ChangeButton.Click();
 }