com.sdl.selenium.bootstrap.form.InputAppend Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Testy Show documentation
Show all versions of Testy Show documentation
Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications.
(optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)
The newest version!
package com.sdl.selenium.bootstrap.form;
import com.sdl.selenium.web.WebLocator;
import com.sdl.selenium.web.form.TextField;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class InputAppend extends TextField {
private static final Logger LOGGER = LoggerFactory.getLogger(InputAppend.class);
public InputAppend() {
setClassName("InputAppend");
setType("text");
}
public InputAppend(WebLocator container) {
this();
setContainer(container);
}
public InputAppend(WebLocator container, String label) {
this(container);
setLabel(label);
}
/**
* click on checkbox
* @return true | false
*/
public boolean append() {
WebLocator appendEl = new WebLocator(this).setElPath("//following-sibling::*").setInfoMessage("append");
return appendEl.click();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy