public static bool IsButtonEnable(By locator) { element = GenericHelper.GetElement(locator); Logger.Info(" Checking Is Button Enabled "); return(element.Enabled); }
public static void ClickRadioButton(By locator) { element = GenericHelper.GetElement(locator); element.Click(); Logger.Info("Click on the radio button" + element); }
public static void ClickOnButton(By locator) { element = GenericHelper.GetElement(locator); element.Click(); Logger.Info(" Button Click @ " + locator); }
public static void CheckedCheckBox(By locator) { element = GenericHelper.GetElement(locator); element.Click(); Logger.Info(" Click on Check box : " + locator); }
public static void ClearText(By loacator) { element = GenericHelper.GetElement(loacator); element.Clear(); Logger.Info("Clear in the textbox"); }
public static void TypeInTexBox(By loacator, string text) { element = GenericHelper.GetElement(loacator); element.SendKeys(text); Logger.Info("Type in the textbox" + text); }
public static void SupplyIntialString(By locator, string text) { element = GenericHelper.GetElement(locator); element.SendKeys(text); }