Ejemplo n.º 1
0
        public static void SelectFromKendoDropDown(By selectArrow, string value)
        {
            var arrow = GenericHelper.GetElement(selectArrow);

            JavaScriptExecutorHelper.ScrollElementAndClick(arrow);
            Thread.Sleep(500);
            var list = GenericHelper.GetVisiblityOfElement(By.XPath("//li[text()='" + value + "']"));

            list.Click();
            GenericHelper.WaitForLoadingMask();
            Thread.Sleep(1000);
        }
Ejemplo n.º 2
0
        public static void SelectItemPerList(string number)
        {
            var arrow = GenericHelper.GetElement(DownArrow);

            JavaScriptExecutorHelper.ScrollElementAndClick(arrow);
            Thread.Sleep(500);
            var list = GenericHelper.GetVisiblityOfElement(By.XPath("//li[text()='" + number + "']"));

            list.Click();
            GenericHelper.WaitForLoadingMask();
            Thread.Sleep(1000);
        }