Updates:
Status: Pending
Comment #9 on issue 618 by pekka.klarck: Java long and Long parameters are
passed as BigInteger
http://code.google.com/p/robotframework/issues/detail?id=618
Great that strings work for you although they cause a little more work. At
least they are easier for users.
JavaLibCode could convert strings to integers and other base types
automatically, though. We have this kind of functionality in the core
framework when you use the static Java API [1], and implementing something
similar to JavaLibCore shouldn't be too hard. Then you could define your
method so that it accepts e.g. an int and strings in the data would be
converted automatically before calling your methods. If you Laurent like
that idea, please submit an enhancement request to the JavaTools issue
tracker.
[1]
http://robotframework.googlecode.com/svn/tags/robotframework-2.5.3/doc/userguide/RobotFrameworkUserGuide.html#argument-types-with-java
This issue can probably be closed now. Or have I missed something?