nullParamCheck(getCol(), "col");
optionalIntegerParamCheck(getStartRow(), "startRow", true);
}
public void doExecute() {
final CellReference cellReference = ExcelCellUtils.getCellReference(this, null, getStartRow(), getCol());
final HSSFSheet excelSheet = getExcelSheet();
int row = cellReference.getRow();
while(row <= excelSheet.getLastRowNum()) {
final HSSFCell excelCellAt = ExcelCellUtils.getExcelCellAt(this, row, cellReference.getCol());
if (verifyText(ExcelCellUtils.getCellValueAt(excelCellAt))) {
setWebtestProperty(getProperty(), String.valueOf(row + 1), getPropertyType());
return;
}
row++;
}
throw new StepFailedException("No cells were found matching '"+getText()+"' starting from " + cellReference.formatAsString(), this);
}