public ToDropDownListWrapper ( ) : |
||
리턴 |
public WaitWrapper SetTo(ControlWrapperBase control, string value) { var dropDown = control.ToDropDownListWrapper(); var option = dropDown.OptionWithText(value); if (option.Exists().IsTrue) { return option.Select(); } option = dropDown.OptionWithValue(value); if (option.Exists().IsTrue) { return option.Select(); } throw new AssertionException(String.Format("{0} does not have option '{1}'", control.HowFound, value)); }
public bool IsMatch(ControlWrapperBase control) { return control.Element != null && control.ToDropDownListWrapper().Element != null; }