예제 #1
0
 public static WatiN.Core.RadioButton check(this WatiN.Core.RadioButton radioButton, bool value)
 {
     if (radioButton != null)
     {
         try
         {
             radioButton.Checked = value;
         }
         catch//(Exception ex)
         {
             //ex.log("in WatiN.Core.RadioButton value::");  // there is an public WatiN exception that occurs after the value is set
         }
     }
     return(radioButton);
 }
예제 #2
0
 public static string value(this WatiN.Core.RadioButton radioButton)
 {
     return((radioButton != null)
                ? radioButton.TextAfter
                : null);
 }
예제 #3
0
 public static string name(this WatiN.Core.RadioButton radioButton)
 {
     return((radioButton != null)
                ? radioButton.attribute("name")
                : "");
 }
예제 #4
0
 public static string id(this WatiN.Core.RadioButton radioButton)
 {
     return((radioButton != null)
                ? radioButton.Id
                : "");
 }
예제 #5
0
 public static WatiN.Core.RadioButton @checked(this WatiN.Core.RadioButton radioButton, bool value)
 {
     return(radioButton.check(value));
 }
예제 #6
0
 public static bool @checked(this WatiN.Core.RadioButton radioButton)
 {
     return(radioButton.Checked);
 }