1

Am trying to use selenium webdriver in ruby on rails for import test case but most of my Excel file has "=Now()" formula so when without open and save that file manually i try to import it showing old date only

Actually am unable to use below mentioned logic in ROR

XSSFWorkbook workbook = new XSSFWorkbook(file);
workbook.setForceFormulaRecalculation(true);
XSSFFormulaEvaluator.evaluateAllFormulaCells(workbook)
SENTHU SOFT
  • 19
  • 2
  • 8

0 Answers0