I want to check that a value is equal to the sum of two variables. Anyone who knows how to do this?
I have tried a "checkSelectionByValue" where the text to check is $VAR1+$VAR2, but it doesn't summarize and check the value of the sum. Maybe I have to add them together first into a third variable, but how shall that be done in that case?
Achim Loerke Messages: 364 Registered: July 2009 Location: Braunschweig, Germany
You can do this by using functions - which are started with a question mark. Just try it by typing ? in the parameter field and do a text completion (ctrl space).
Your requirement would be solved by
There are only a few basic functions predefined, but it's a trivial task to implement a some more (if you can write Java code). We are always looking for people contributing generally useful functions, i.e. not something specially tuned for your project.
It almost solved my problem. The "add" works great, but the sum is given with a decimal which isn't equivalent with the non decimal integer I want to check towards. Any suggestion of getting none decimal or removing it afterwards the adding is done.