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