Esempio n. 1
0
        public static IWebElement GetValidXpath(IWebDriver driver, string Tvalue, string Target)
        {
            JWait.WaitForAjaxComplete(driver, 30);
            string sXpath = JXpath.Valid(Tvalue, Target);

            return(element = JFind.XPath(driver, sXpath));
        }
Esempio n. 2
0
        public static IWebElement GetDateTimeElement(IWebDriver driver, string Target, string Tvalue, string sType)
        {
            JWait.WaitForAjaxComplete(driver, 30);
            string sXpath = JXpath.DateTimeInput(Target, Tvalue, sType);

            return(element = JFind.XPath(driver, sXpath));
        }
Esempio n. 3
0
        public static IWebElement GetDirectionElement(IWebDriver driver, string Tvalue)
        {
            JWait.WaitForAjaxComplete(driver, 30);
            string sXpath = JXpath.DirectionButton(Tvalue);

            return(element = JFind.XPath(driver, sXpath));
        }
Esempio n. 4
0
        public static IWebElement GetSelectElement(IWebDriver driver, string Tvalue, string Target)
        {
            JWait.WaitForAjaxComplete(driver, 30);
            string sXpath = JXpath.Select(Target, Tvalue);

            return(element = JFind.XPath(driver, sXpath));
        }