package com.sdl.selenium.web.form;

import com.sdl.selenium.web.WebLocator;
import com.sdl.selenium.web.WebLocatorAbstractBuilder;
import org.apache.log4j.Logger;

public class SimpleTextField extends WebLocator implements ITextField {
    private static final Logger logger = Logger.getLogger(SimpleTextField.class);

    private String type;

    public SimpleTextField() {
        setClassName("SimpleTextField");
        setTag("input");
        setTemplate("input-type", "@type='%s'");
    }

    public SimpleTextField(WebLocator container) {
        this();
        setContainer(container);
    }

    public SimpleTextField(String id) {
        this();
        setId(id);
    }

    public String getType() {
        return type;
    }

    public <T extends WebLocatorAbstractBuilder> T setType(String type) {
        this.type = type;
        String key = "input-type";
        setElPathSuffix(key, applyTemplate(key, type));
        return (T) this;
    }

    public boolean setValue(String value) {
        return executor.setValue(this, value);
    }

    public String getValue() {
        return executor.getValue(this);
    }
}
@@ -139,31 +139,107 @@
 ort 
-org.apache.log4j.Logger
+com.sdl.selenium.web.utils.Utils;%0D%0Aimport org.apache.log4j.Logger;%0D%0Aimport org.openqa.selenium.Keys
 ;%0D%0A%0D
@@ -348,14 +348,14 @@
 ger 
-logger
+LOGGER
  = L
@@ -1067,32 +1067,549 @@
 this;%0D%0A    %7D%0D%0A%0D%0A
+    public boolean pasteInValue(String value) %7B%0D%0A        if (ready()) %7B%0D%0A            if (value != null) %7B%0D%0A                currentElement.clear();%0D%0A                Utils.copyToClipboard(value);%0D%0A                currentElement.sendKeys(Keys.CONTROL, %22v%22);%0D%0A                LOGGER.info(%22Set value(%22 + this + %22): %22 + value + %22'%22);%0D%0A                return true;%0D%0A            %7D%0D%0A        %7D else %7B%0D%0A            LOGGER.warn(%22setValue : field is not ready for use: %22 + toString());%0D%0A        %7D%0D%0A        return false;%0D%0A    %7D%0D%0A%0D%0A
     public boole

add pasteInValue method in SimpleTextField