com.epam.jdi.cucumber.stepdefs.ru.FrameworkStepdefs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdi-uitest-cucumber Show documentation
Show all versions of jdi-uitest-cucumber Show documentation
Epam UI Automation framework package for Cucumber
package com.epam.jdi.cucumber.stepdefs.ru;
import com.epam.jdi.uitests.web.selenium.elements.common.TextField;
import cucumber.api.java.en.Given;
import static com.epam.jdi.cucumber.Utils.getElementByName;
public class FrameworkStepdefs {
@Given("^я заполняю \"([^\"]*)\" значением \"([^\"]*)\"$")
public void iMFillBy(String fieldName, String data) {
TextField textField = getElementByName(fieldName);
textField.setValue(data);
}
}