public static TComponent CreateByXPath <TComponent>(this ComponentCreateService repo, string xpath)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindXPathStrategy, IOSDriver <IOSElement>, IOSElement>(new FindXPathStrategy(xpath));
 public static TComponent CreateByValueContaining <TComponent>(this ComponentCreateService repo, string text)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindValueContainingStrategy, IOSDriver <IOSElement>, IOSElement>(new FindValueContainingStrategy(text));
 public static TComponent CreateByIOSUIAutomation <TComponent>(this ComponentCreateService repo, string automationId)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindIOSUIAutomationStrategy, IOSDriver <IOSElement>, IOSElement>(new FindIOSUIAutomationStrategy(automationId));
 public static TComponent CreateByIOSNsPredicate <TComponent>(this ComponentCreateService repo, string predicate)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindIOSNsPredicateStrategy, IOSDriver <IOSElement>, IOSElement>(new FindIOSNsPredicateStrategy(predicate));
 public static TComponent CreateByName <TComponent>(this ComponentCreateService repo, string name)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindNameStrategy, IOSDriver <IOSElement>, IOSElement>(new FindNameStrategy(name));
 public static TComponent CreateByClass <TComponent>(this ComponentCreateService repo, string elementClass)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindClassNameStrategy, IOSDriver <IOSElement>, IOSElement>(new FindClassNameStrategy(elementClass));
Ejemplo n.º 7
0
 public static TComponent CreateByIdStartingWith <TComponent>(this ComponentCreateService repo, string id)
     where TComponent : Component <AndroidDriver <AndroidElement>, AndroidElement> => repo.Create <TComponent, FindIdStartingWithStrategy, AndroidDriver <AndroidElement>, AndroidElement>(new FindIdStartingWithStrategy(id));
 public static TComponent CreateByTextContaining <TComponent>(this ComponentCreateService repo, string text)
     where TComponent : Component <AndroidDriver <AndroidElement>, AndroidElement> => repo.Create <TComponent, FindTextContainingStrategy, AndroidDriver <AndroidElement>, AndroidElement>(new FindTextContainingStrategy(text));
 public static TComponent CreateByNgRepeater <TComponent>(this ComponentCreateService repository, string repeater, bool shouldCacheElement = false)
     where TComponent : Component => repository.Create <TComponent, ByNgRepeater>(new ByNgRepeater(repeater), shouldCacheElement);
 public static TComponent CreateByNgSelectedOption <TComponent>(this ComponentCreateService repository, string selectedOption, bool shouldCacheElement = false)
     where TComponent : Component => repository.Create <TComponent, ByNgSelectedOption>(new ByNgSelectedOption(selectedOption), shouldCacheElement);
 public static TComponent CreateByNgModel <TComponent>(this ComponentCreateService repository, string model, bool shouldCacheElement = false)
     where TComponent : Component => repository.Create <TComponent, ByNgModel>(new ByNgModel(model), shouldCacheElement);
 public static TComponent CreateByNgBinding <TComponent>(this ComponentCreateService repository, string binding, bool shouldCacheElement = false)
     where TComponent : Component => repository.Create <TComponent, ByNgBinding>(new ByNgBinding(binding), shouldCacheElement);
 public static TComponent CreateByAndroidUIAutomator <TComponent>(this ComponentCreateService repo, string automationId)
     where TComponent : Component <AndroidDriver <AndroidElement>, AndroidElement> => repo.Create <TComponent, FindAndroidUIAutomatorStrategy, AndroidDriver <AndroidElement>, AndroidElement>(new FindAndroidUIAutomatorStrategy(automationId));
 public static TComponent CreateByIdStartingWith <TComponent>(this ComponentCreateService repository, string idPrefix, bool shouldCache = false)
     where TComponent : Component => repository.Create <TComponent, FindIdStartingWithStrategy>(new FindIdStartingWithStrategy(idPrefix), shouldCache);
 public static TComponent CreateById <TComponent>(this ComponentCreateService repo, string id)
     where TComponent : Component <IOSDriver <IOSElement>, IOSElement> => repo.Create <TComponent, FindStrategyId, IOSDriver <IOSElement>, IOSElement>(new FindStrategyId(id));
Ejemplo n.º 16
0
 public static TComponent CreateByNameStartingWith <TComponent>(this ComponentCreateService repo, string tag)
     where TComponent : Component => repo.Create <TComponent, FindNameStartingWithStrategy>(new FindNameStartingWithStrategy(tag));
 public static TComponent CreateByDescriptionContaining <TComponent>(this ComponentCreateService repo, string description)
     where TComponent : Component <AndroidDriver <AndroidElement>, AndroidElement> => repo.Create <TComponent, FindDescriptionContainingStrategy, AndroidDriver <AndroidElement>, AndroidElement>(new FindDescriptionContainingStrategy(description));