Beispiel #1
0
 public Container(AutomationElement element, string name, IFindAutomationElements finder) : base(element, name)
 {
     _finder = finder;
     HandlerForFailingToFind = (s) => { throw new FailureToFindException(s); };
 }
Beispiel #2
0
 public ScrollViewer(AutomationElement element, string name, IFindAutomationElements finder)
     : base(element, name, finder)
 {
     _scrollPattern = new ScrollPatternWrapper(element);
 }
Beispiel #3
0
 public Panel(AutomationElement element, string name, IFindAutomationElements finder)
     : base(element, name, finder)
 {
 }
Beispiel #4
0
 public ScrollViewer(AutomationElement element, string name, IFindAutomationElements finder) : base(element, name, finder)
 {
     _scrollPattern = new ScrollPatternWrapper(element);
 }
 public ApplicationLauncher(TimeSpan timeout, IFindAutomationElements finder)
 {
     Timeout = timeout;
     Finder  = finder;
 }
Beispiel #6
0
 public Panel(AutomationElement element, string name, IFindAutomationElements finder) : base(element, name, finder)
 {
 }
Beispiel #7
0
 public Window(AutomationElement element, string name, IFindAutomationElements finder) : base(element, name, finder)
 {
     _processId = int.Parse(element.GetCurrentPropertyValue(AutomationElement.ProcessIdProperty).ToString());
 }
Beispiel #8
0
 public Window(AutomationElement element, IFindAutomationElements automationIdBasedFinder) : this(element, string.Empty, automationIdBasedFinder)
 {
 }
 public ApplicationLauncher(TimeSpan timeout, IFindAutomationElements finder)
 {
     Timeout = timeout;
     Finder = finder;
 }
Beispiel #10
0
 public Window(AutomationElement element, string name, IFindAutomationElements finder)
     : base(element, name, finder)
 {
     _processId = int.Parse(element.GetCurrentPropertyValue(AutomationElement.ProcessIdProperty).ToString());
 }
Beispiel #11
0
 public Window(AutomationElement element, IFindAutomationElements automationIdBasedFinder)
     : this(element, string.Empty, automationIdBasedFinder)
 {
 }