Пример #1
0
 public static void ClickRadioButton(By Locator)
 {
     element = GenericHelper.GetElement(Locator);
     element.Click();
 }
Пример #2
0
 public static void SwitchToFrameId(By Locator)
 {
     ObjectRepository.Driver.SwitchTo().Frame(GenericHelper.GetElement(Locator));
 }
Пример #3
0
 public static void ClearTextBox(By Locator)
 {
     element = GenericHelper.GetElement(Locator);
     element.Clear();
 }
Пример #4
0
 public static void TypeInTextBox(By Locator, String text)
 {
     element = GenericHelper.GetElement(Locator);
     element.SendKeys(text);
 }
Пример #5
0
 public static void CheckedCheckBox(By Locator)
 {
     element = GenericHelper.GetElement(Locator);
     element.Click();
 }
Пример #6
0
 public static void ClickOnLink(By Locator)
 {
     element = GenericHelper.GetElement(Locator);
     element.Click();
 }
Пример #7
0
 public static bool IsButtonEnabled(By Locator)
 {
     element = GenericHelper.GetElement(Locator);
     return(element.Enabled);
 }