use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class ActionConfigureComponentInvokeSql method fillSqlInput.
@Override
public void fillSqlInput(String query) {
log.debug("filling sql query: {}", query);
SelenideElement element = $(Element.INPUT_QUERY);
this.fillInput(element, query);
}
use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class ActionConfigureComponentPeriodicSql method fillSqlInput.
@Override
public void fillSqlInput(String query) {
log.debug("filling sql query: {}", query);
SelenideElement element = $(Element.INPUT_QUERY);
this.fillInput(element, query);
}
use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class BasicFilterStepComponent method setLatestOpSelect.
public void setLatestOpSelect(String op) {
log.info("setting basic filter step op to option number {}", op);
ElementsCollection opInputArray = this.getRootElement().findAll(Select.OP);
SelenideElement opInput = opInputArray.get(opInputArray.size() - 1);
this.selectOption(opInput, op);
}
use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class BasicFilterStepComponent method setLatestPathInput.
public void setLatestPathInput(String path) {
log.info("setting basic filter step path to {}", path);
ElementsCollection pathInputArray = this.getRootElement().findAll(Input.PATH);
SelenideElement pathInput = pathInputArray.get(pathInputArray.size() - 1);
pathInput.shouldBe(visible).clear();
pathInput.shouldBe(visible).sendKeys(path);
}
use of com.codeborne.selenide.SelenideElement in project syndesis-qe by syndesisio.
the class BasicFilterStepComponent method setLatestValueInput.
public void setLatestValueInput(String value) {
log.info("Setting basic filter step value to {}", value);
ElementsCollection valueInputArray = this.getRootElement().findAll(Input.VALUE);
SelenideElement valueInput = valueInputArray.get(valueInputArray.size() - 1);
valueInput.shouldBe(visible).clear();
valueInput.shouldBe(visible).sendKeys(value);
}
Aggregations