コード例 #1
0
 public static bool IsButtonEnable(By locator)
 {
     element = GenericHelper.GetElement(locator);
     Logger.Info(" Checking Is Button Enabled ");
     return(element.Enabled);
 }
コード例 #2
0
 public static void ClickRadioButton(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
     Logger.Info("Click on the radio button" + element);
 }
コード例 #3
0
 public static void ClickOnButton(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
     Logger.Info(" Button Click @ " + locator);
 }
コード例 #4
0
 public static void CheckedCheckBox(By locator)
 {
     element = GenericHelper.GetElement(locator);
     element.Click();
     Logger.Info(" Click on Check box : " + locator);
 }
コード例 #5
0
 public static void ClearText(By loacator)
 {
     element = GenericHelper.GetElement(loacator);
     element.Clear();
     Logger.Info("Clear in the textbox");
 }
コード例 #6
0
 public static void TypeInTexBox(By loacator, string text)
 {
     element = GenericHelper.GetElement(loacator);
     element.SendKeys(text);
     Logger.Info("Type in the textbox" + text);
 }
コード例 #7
0
 public static void SupplyIntialString(By locator, string text)
 {
     element = GenericHelper.GetElement(locator);
     element.SendKeys(text);
 }