Exemplo n.º 1
0
 public static ComponentsList <TComponent> CreateAllByXPath <TComponent>(this ComponentCreateService repo, string xpath)
     where TComponent : Component => new ComponentsList <TComponent>(new FindXPathStrategy(xpath), null);
Exemplo n.º 2
0
 public static ComponentsList <TComponent> CreateAllByClass <TComponent>(this ComponentCreateService repo, string elementClass)
     where TComponent : Component => new ComponentsList <TComponent>(new FindClassNameStrategy(elementClass), null);
Exemplo n.º 3
0
 public static ComponentsList <TComponent> CreateAllByAutomationId <TComponent>(this ComponentCreateService repo, string automationId)
     where TComponent : Component => new ComponentsList <TComponent>(new FindAutomationIdStrategy(automationId), null);
Exemplo n.º 4
0
 public static ComponentsList <TComponent> CreateAllByAccessibilityId <TComponent>(this ComponentCreateService repo, string accessibilityId)
     where TComponent : Component => new ComponentsList <TComponent>(new FindAccessibilityIdStrategy(accessibilityId), null);
Exemplo n.º 5
0
 public static ComponentsList <TComponent> CreateAllByName <TComponent>(this ComponentCreateService repo, string name)
     where TComponent : Component => new ComponentsList <TComponent>(new FindNameStrategy(name), null);
Exemplo n.º 6
0
 public static ComponentsList <TComponent> CreateAllByTag <TComponent>(this ComponentCreateService repo, string tag)
     where TComponent : Component => new ComponentsList <TComponent>(new FindTagNameStrategy(tag), null);
Exemplo n.º 7
0
 public static ComponentsList <TComponent> CreateAllById <TComponent>(this ComponentCreateService repo, string id)
     where TComponent : Component => new ComponentsList <TComponent>(new FindIdStrategy(id), null);
Exemplo n.º 8
0
 public static TComponent CreateByXPath <TComponent>(this ComponentCreateService repo, string xpath)
     where TComponent : Component => repo.Create <TComponent, FindXPathStrategy>(new FindXPathStrategy(xpath));
Exemplo n.º 9
0
 public static ComponentsList <TComponent> CreateAllByIdEndingWith <TComponent>(this ComponentCreateService repo, string tag)
     where TComponent : Component => new ComponentsList <TComponent>(new FindIdEndingWithStrategy(tag), null);
Exemplo n.º 10
0
 public static TComponent CreateByClass <TComponent>(this ComponentCreateService repo, string elementClass)
     where TComponent : Component => repo.Create <TComponent, FindClassNameStrategy>(new FindClassNameStrategy(elementClass));
Exemplo n.º 11
0
 public static TComponent CreateByAutomationId <TComponent>(this ComponentCreateService repo, string automationId)
     where TComponent : Component => repo.Create <TComponent, FindAutomationIdStrategy>(new FindAutomationIdStrategy(automationId));
Exemplo n.º 12
0
 public static TComponent CreateByName <TComponent>(this ComponentCreateService repo, string name)
     where TComponent : Component => repo.Create <TComponent, FindNameStrategy>(new FindNameStrategy(name));
Exemplo n.º 13
0
 public static TComponent CreateByAccessibilityId <TComponent>(this ComponentCreateService repo, string accessibilityId)
     where TComponent : Component => repo.Create <TComponent, FindAccessibilityIdStrategy>(new FindAccessibilityIdStrategy(accessibilityId));
Exemplo n.º 14
0
 public static TComponent CreateById <TComponent>(this ComponentCreateService repo, string id)
     where TComponent : Component => repo.Create <TComponent, FindIdStrategy>(new FindIdStrategy(id));
Exemplo n.º 15
0
 public static TComponent CreateByTag <TComponent>(this ComponentCreateService repo, string tag)
     where TComponent : Component => repo.Create <TComponent, FindTagNameStrategy>(new FindTagNameStrategy(tag));
Exemplo n.º 16
0
 public static TComponent CreateByIdEndingWith <TComponent>(this ComponentCreateService repo, string tag)
     where TComponent : Component => repo.Create <TComponent, FindIdEndingWithStrategy>(new FindIdEndingWithStrategy(tag));