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