nl.hsac.fitnesse.fixture.util.selenium.by.ariagrid.Row Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-fixtures Show documentation
Show all versions of hsac-fitnesse-fixtures Show documentation
Fixtures to assist in testing via FitNesse
package nl.hsac.fitnesse.fixture.util.selenium.by.ariagrid;
import nl.hsac.fitnesse.fixture.util.selenium.by.AriaGridBy;
import nl.hsac.fitnesse.fixture.util.selenium.by.XPathBy;
/**
* Finds a row in a grid.
*/
public class Row {
public static class InNumber extends XPathBy {
public InNumber(int rowIndex) {
super("(.//div[@role='row'][boolean(span[@role='cell'])])[%s]", Integer.toString(rowIndex));
}
}
public static class WhereIs extends XPathBy {
public WhereIs(String selectOnValue, String selectOnColumn) {
super(AriaGridBy.getXPathForColumnInRowByValueInOtherColumn(selectOnValue, selectOnColumn) + "/..");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy