net.nemerosa.ontrack.acceptance.browser.dialogs.ProjectDialog.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-acceptance Show documentation
Show all versions of ontrack-acceptance Show documentation
Ontrack module: ontrack-acceptance
The newest version!
package net.nemerosa.ontrack.acceptance.browser.dialogs
import net.nemerosa.ontrack.acceptance.browser.Browser
import net.nemerosa.ontrack.acceptance.browser.support.AbstractDialog
import org.openqa.selenium.WebElement
import org.openqa.selenium.support.FindBy
public class ProjectDialog extends AbstractDialog {
@FindBy(name = "name")
private WebElement nameInput;
@FindBy(name = "description")
private WebElement descriptionInput;
public ProjectDialog(Browser browser) {
super(browser);
}
public void setName(String value) {
nameInput.sendKeys(value);
}
public void setDescription(String value) {
descriptionInput.sendKeys(value);
}
}