Search in sources :

Example 1 with InputHtmlSetValueStatement

use of com.twinsoft.convertigo.beans.statements.InputHtmlSetValueStatement in project convertigo by convertigo.

the class EventStatementGenerator method addInputText.

public void addInputText(String selectBy, String selectType, String tagName, String value) {
    String var_name = addVariableFormPrefixe(selectType, value);
    String xpath = getXPath(tagName.toUpperCase(), selectBy, selectType);
    AbstractEventStatement stat = new InputHtmlSetValueStatement(xpath, var_name);
    addStatement(stat);
}
Also used : InputHtmlSetValueStatement(com.twinsoft.convertigo.beans.statements.InputHtmlSetValueStatement) AbstractEventStatement(com.twinsoft.convertigo.beans.statements.AbstractEventStatement)

Aggregations

AbstractEventStatement (com.twinsoft.convertigo.beans.statements.AbstractEventStatement)1 InputHtmlSetValueStatement (com.twinsoft.convertigo.beans.statements.InputHtmlSetValueStatement)1