public static void CheckedCheckBox(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
 }
 public static bool IsButtonEnabled(By locator)
 {
     element = GenericHelper.GetElement(locator);
     return(element.Enabled);
 }
Exemplo n.º 3
0
 public static void ClearTextBox(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Clear();
 }
 public static void ClickButton(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
 }
Exemplo n.º 5
0
 public static void TypeInTextBox(By locator, string text)
 {
     element = GenericHelper.GetElement(locator);
     element.SendKeys(text);
 }