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 ClickButton(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
 }
 public static bool IsButtonEnabled(By locator)
 {
     element = GenericHelper.GetElement(locator);
     return(element.Enabled);
 }
示例#5
0
 public static void CheckedCheckBox(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
 }