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

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