public static DataProvider <string, TOwner> Content <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().Content);
 }
 public static UIComponentVerificationProvider <Control <TOwner>, TOwner> WaitTo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().WaitTo);
 }
 public static bool IsEnabled <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().IsEnabled.Value);
 }
 public static bool Missing <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable, SearchOptions options = null)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().Missing(options));
 }
 public static Clickable <TNavigateTo, TOwner> GetControl <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return((Clickable <TNavigateTo, TOwner>)UIComponentResolver.GetControlByDelegate <TOwner>(clickable));
 }
 public static TOwner ScrollTo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().ScrollTo());
 }
Exemple #7
0
 public static UIComponentVerificationProvider <Control <TOwner>, TOwner> Should <TOwner>(this ClickableDelegate <TOwner> clickable)
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().Should);
 }
Exemple #8
0
 public static bool Exists <TOwner>(this ClickableDelegate <TOwner> clickable, SearchOptions options = null)
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().Exists(options));
 }
Exemple #9
0
 public static TOwner RightClick <TOwner>(this ClickableDelegate <TOwner> clickable)
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().RightClick());
 }
Exemple #10
0
 public static TOwner Focus <TOwner>(this ClickableDelegate <TOwner> clickable)
     where TOwner : PageObject <TOwner>
 {
     return(clickable.GetControl().Focus());
 }
Exemple #11
0
 public static TNavigateTo ClickAndGo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickableDelegate)
     where TNavigateTo : PageObject <TNavigateTo>
     where TOwner : PageObject <TOwner>
 {
     return(clickableDelegate.GetControl().ClickAndGo());
 }