Exemple #1
0
 public static void ClickRadioButton(By Locator)
 {
     element = GenericHelper.GetWebElement(Locator);
     element.Click();
 }
Exemple #2
0
 public static void CheckedCheckBox(By Locator)
 {
     element = GenericHelper.GetWebElement(Locator);
     element.Click();
 }
Exemple #3
0
        public static void SelectElement(By Locator, int index)
        {
            SelectElement select = new SelectElement(GenericHelper.GetWebElement(Locator));

            select.SelectByIndex(index);
        }
Exemple #4
0
 public static bool IsButtonEnabled(By Locator)
 {
     element = GenericHelper.GetWebElement(Locator);
     return(element.Enabled);
 }
Exemple #5
0
 public static void TypeInTextBox(By Locator, string Text)
 {
     element = GenericHelper.GetWebElement(Locator);
     element.SendKeys(Text);
 }
Exemple #6
0
 public static void ClearTextBox(By Locator)
 {
     element = GenericHelper.GetWebElement(Locator);
     element.Clear();
 }
Exemple #7
0
 public static void ClinkLink(By Locator)
 {
     element = GenericHelper.GetWebElement(Locator);
     element.Click();
 }