//set Paymentfrequency
        void Paymentfrequency(string paymentfrequency)
        {
            var lists = DdlPaymentFrequancy.FindElements(By.TagName("option"));

            foreach (var item in lists)
            {
                if (item.Text == paymentfrequency)
                {
                    item.Click();
                }
            }
        }
예제 #2
0
        //set Paymentfrequency
        void Paymentfrequency(string paymentfrequency)
        {
            DdlPaymentFrequancy.Click();
            var lists = Driver.WaitForElementExist(By.XPath("//div[@class='menu transition visible']"), 3)
                        .FindElements(By.TagName("div"));

            foreach (var VARIABLE in lists)
            {
                if (VARIABLE.Text == paymentfrequency)
                {
                    VARIABLE.Click();
                }
            }
        }