
com.epam.jdi.uitests.gui.sikuli.elements.common.TextField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdi-uitest-gui Show documentation
Show all versions of jdi-uitest-gui Show documentation
Epam UI Automation framework package for GUI (Desktop, Mobile, Web) - image based
package com.epam.jdi.uitests.gui.sikuli.elements.common;
import com.epam.commons.TryCatchUtil;
import com.epam.jdi.uitests.core.interfaces.common.ITextField;
/**
* Created by Natalia_Grebenshchikova on 1/19/2016.
*/
public class TextField extends Text implements ITextField {
/**
* @param text Specify text to input to TextField
* Input text in textfield
*/
public final void input(CharSequence text) {
actions.input(text, this::inputAction);
}
protected void inputAction(CharSequence text) {
TryCatchUtil.tryGetResult(() -> this.getParentRegion().type(this.getPattern(), text.toString()));
}
/**
* @param text Specify text to input to TextField
* Clear and input text in textfield
*/
public void newInput(CharSequence text) {
}
/**
* Clear textfield
*/
public void clear() {
}
/**
* Focus(click) on textfield
*/
public void focus() {
}
/**
* @param value Specify element value
* Set value to Element
*/
public void setValue(String value) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy