コード例 #1
0
 public static void ValidateIsChecked <T>(this T control, int?timeout = null, int?sleepInterval = null)
     where T : IElementChecked, IElement
 {
     WaitUntil(() => control.IsChecked.Equals(true), "The control should be checked but was NOT.", timeout, sleepInterval);
     ValidatedIsCheckedEvent?.Invoke(control, new ElementActionEventArgs(control));
 }
コード例 #2
0
 public static void ValidateIsChecked <T>(this T control, int?timeout = null, int?sleepInterval = null)
     where T : IComponentChecked, IComponent <IOSElement>
 {
     ValidateControlWaitService.WaitUntil <IOSDriver <IOSElement>, IOSElement>(() => control.IsChecked.Equals(true), "The control should be checked but was NOT.", timeout, sleepInterval);
     ValidatedIsCheckedEvent?.Invoke(control, new ComponentActionEventArgs <IOSElement>(control));
 }