Esempio n. 1
0
 public static void CheckedCheckbox(By locator)
 {
     element = GenericHelpers.GetElement(locator);
     element.Click();
 }
Esempio n. 2
0
 public static void ClickLink(By locator)
 {
     element = GenericHelpers.GetElement(locator);
     element.Click();
 }
 public static void CheckedRadioButton(By locator)
 {
     element = GenericHelpers.GetElement(locator);
     element.Click();
 }
 public static void TypeInTextbox(By locator, string text)
 {
     element = GenericHelpers.GetElement(locator);
     element.Clear();
     element.SendKeys(text);
 }
 public static void ClearTextbox(By locator)
 {
     element = GenericHelpers.GetElement(locator);
     element.Clear();
 }
 public static bool IsButtonEnabled(By locator)
 {
     element = GenericHelpers.GetElement(locator);
     return(element.Enabled);
 }