Dear developers,
I just started learning plugin-development in Tersus, and found quite a few errors when running existing tests following http://www.tersus.com/?Id=412
My environment is Tersus 2.1.13 on Eclipse 3.7.2. Here are two of the errors I look into.
1. tersus.plugins.tests.LoadExcelTest:
junit.framework.AssertionFailedError: OK Exit should be charged
I found it's because of the test file, Test1/Excel File.xls. One issue is the un-aligned row, and the other is the single quote in front of the date fields.
It might caused by LibreOffice I'm using, but after I fixed those (see below), the test passed.
2. tersus.plugins.tests.UniqueItemsTest
java.lang.NullPointerException at tersus.webapp.JavaScriptFormat.serialize0(JavaScriptFormat.java:140) at tersus.webapp.JavaScriptFormat.serialize0(JavaScriptFormat.java:102) at tersus.webapp.JavaScriptFormat.serialize(JavaScriptFormat.java:84) at tersus.runtime.TraceWriter.writaDetailValue(TraceWriter.java:289) at tersus.runtime.TraceWriter.addDetailValue(TraceWriter.java:264) at tersus.runtime.FlowHandler.traceFinish(FlowHandler.java:586) at tersus.runtime.CompositeFlowHandler.start(CompositeFlowHandler.java:97) at tersus.plugins.tests.UniqueItemsTest.test(UniqueItemsTest.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ...
I tried deleting all the triggers other than "List" and the exception is gone, but I can't figure out how to add a trigger that has role 'Number' or 'Empty'. Are those for an older version?
Thanks!
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign