public static void ClickRadioButton(By Locator) { element = GenericHelper.GetElement(Locator); element.Click(); }
public static void SwitchToFrameId(By Locator) { ObjectRepository.Driver.SwitchTo().Frame(GenericHelper.GetElement(Locator)); }
public static void ClearTextBox(By Locator) { element = GenericHelper.GetElement(Locator); element.Clear(); }
public static void TypeInTextBox(By Locator, String text) { element = GenericHelper.GetElement(Locator); element.SendKeys(text); }
public static void CheckedCheckBox(By Locator) { element = GenericHelper.GetElement(Locator); element.Click(); }
public static void ClickOnLink(By Locator) { element = GenericHelper.GetElement(Locator); element.Click(); }
public static bool IsButtonEnabled(By Locator) { element = GenericHelper.GetElement(Locator); return(element.Enabled); }