Reporting Error into xlsx file via xls reader | Selenium Forum
M
Posted on 12/10/2015
Hello,

I am able to catch the error but the error is not updating in xls file.Please let me know how to update it.

catch(Throwable t)
{
ErrorUtil.addVerificationFailure(t); //not updating in error column in xlsx
System.out.println(t); //prints error
Assert.fail();
fail=true;
return;
}

M
Replied on 20/10/2015

ErrorUtil.addVerificationFailure(t); adds error to reports not the xlsx file.