Can we use open office instead of ms excel for POI api | Selenium Forum
M
Posted on 17/08/2016
Hi Ashish,

Using poi api, I am not able to run the script if I am using file saved with .xlsx extension using open office. Getting exception as

org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'C:\Users\mdwaipay\AppData\Local\Temp\poifiles\poi-ooxml-1570030023.tmp'

M
Replied on 18/08/2016

try creating a new file and try again.