public static Row row(String name) { return new Row(name); }
private MapArray<String, ICell> row(Row row) { return row.get(this::row, this::row); }
public static <TEnum extends Enum> Row inRow(TEnum name) { return inRow(getEnumValue(name)); } }
public static <TEnum extends Enum> Row row(TEnum name) { return row(getEnumValue(name)); }
public static <TEnum extends Enum> Row row(TEnum name) { return row(getEnumValue(name)); }
public static Row inRow(int num) { return new Row(num); }
private MapArray<String, ICell> row(Row row) { return row.get(this::row, this::row); }
@Step default ICell cell(int columnIndex, String rowName) { if (columnIndex <= 0) throw new RuntimeException("Table indexes starts from 1"); return cell(Column.column(columnIndex), Row.row(rowName)); }
public static <TEnum extends Enum> Row inRow(TEnum name) { return inRow(getEnumValue(name)); } }
public static Row row(String name) { return new Row(name); }
private MapArray<String, ICell> row(Row row) { return row.get(this::row, this::row); }
@Step default ICell cell(String columnName, int rowIndex) { if (rowIndex <= 0) throw new RuntimeException("Table indexes starts from 1"); return cell(Column.column(columnName), Row.row(rowIndex)); } /**
public static Row row(int num) { return new Row(num); }
public ICell cell(WebElement webElement, Column column, Row row) { return addCell(webElement, column.get(name -> columns().headers().indexOf(name) + 1, num -> num), row.get(name -> rows().headers().indexOf(name) + 1, num -> num), column.get(name -> name, num -> ""), row.get(name -> name, num -> "")); }
@Step default ICell cell(int columnIndex, int rowIndex) { if (columnIndex <= 0 || rowIndex <= 0) throw new RuntimeException("Table indexes starts from 1"); return cell(Column.column(columnIndex), Row.row(rowIndex)); }