package mmarquee.automation;

import mmarquee.automation.uiautomation.IUIAutomation;
import mmarquee.automation.uiautomation.IUIAutomationElement;

/**
 * Created by inpwt on 26/01/2016.
 */
public class AutomationEditBox extends AutomationBase implements IAutomationEditBox {
    public String text() {
        return this.name();
    }

    public AutomationEditBox(IUIAutomation uiAuto, IUIAutomationElement element) {
        this.element = element;
        this.uiAuto = uiAuto;
    }
}

@@ -67,83 +67,9 @@
 ion.
-IUIAutomation;%0Aimport mmarquee.automation.uiautomation.IUIAutomationElement
+*
 ;%0A%0A/
@@ -231,16 +231,18 @@
         
+//
 return t
@@ -253,16 +253,426 @@
 name();%0A
+        com4j.Com4jObject unknown = this.element.getCurrentPattern(PatternID.ValuePatternId);%0A%0A        String value = %22%22;%0A%0A        if (unknown != null) %7B%0A            IUIAutomationValuePattern pattern =%0A                    unknown.queryInterface(IUIAutomationValuePattern.class);%0A%0A            if (pattern != null) %7B%0A                value = pattern.currentValue();%0A            %7D%0A        %7D%0A%0A        return value;%0A
     %7D%0A%0A 

Fix issue with the value of editboxes