Esempio n. 1
0
 public static void SelectByVisibleText(By locator, string text)
 {
     _select = new SelectElement(GenericHelper.GetElement(locator));
     _select.SelectByText(text);
 }
Esempio n. 2
0
 public static void SelectByIndex(By locator, int index)
 {
     _select = new SelectElement(GenericHelper.GetElement(locator));
     _select.SelectByIndex(index);
 }
Esempio n. 3
0
 public static IWebElement GetGridHeaderElement(string gridXpath, int row, int column)
 {
     return(GenericHelper.IsElementPresentQuick(
                By.XPath(GetGridHeaderXpath(gridXpath, row, column))) ? GenericHelper.GetElement(By.XPath(GetGridHeaderXpath(gridXpath, row, column))) : null);
 }