Ejemplo n.º 1
0
        public Element(WatiNCore.Element automationElement, string selector)
        {
            this.AutomationElement = automationElement;
            this.selector          = selector;

            var nativeBounds = automationElement.NativeElement.GetElementBounds();

            this.bounds = new Tuple <int, int, int, int>(nativeBounds.Left, nativeBounds.Top, nativeBounds.Size.Width, nativeBounds.Size.Height);
        }
Ejemplo n.º 2
0
 public ElementAttributeSelector(WatiNCore.Element automationElement)
 {
     this.automationElement = automationElement;
 }
Ejemplo n.º 3
0
 public ElementAttributeSelector(WatiNCore.Element automationElement)
 {
     this.automationElement = automationElement;
 }
Ejemplo n.º 4
0
 public Element(WatiNCore.Element automationElement) : this(automationElement, null)
 {
 }
Ejemplo n.º 5
0
 private void fireOnChange(WatiNCore.Element element)
 {
     this.browser.DomContainer.Eval(string.Format("if (typeof jQuery != 'undefined') {{ jQuery({0}).change(); }}", element.GetJavascriptElementReference()));
 }