public static void ClickRadioButton(By Locator) { element = GenericHelper.GetWebElement(Locator); element.Click(); }
public static void CheckedCheckBox(By Locator) { element = GenericHelper.GetWebElement(Locator); element.Click(); }
public static void SelectElement(By Locator, int index) { SelectElement select = new SelectElement(GenericHelper.GetWebElement(Locator)); select.SelectByIndex(index); }
public static bool IsButtonEnabled(By Locator) { element = GenericHelper.GetWebElement(Locator); return(element.Enabled); }
public static void TypeInTextBox(By Locator, string Text) { element = GenericHelper.GetWebElement(Locator); element.SendKeys(Text); }
public static void ClearTextBox(By Locator) { element = GenericHelper.GetWebElement(Locator); element.Clear(); }
public static void ClinkLink(By Locator) { element = GenericHelper.GetWebElement(Locator); element.Click(); }