예제 #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));
        }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }