示例#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)
 {
 }