Probably the easiest way it to define your own test library [1], for
example in Python and use Python's base64 module [2].
This is a minimal test library to achieve the encoding:
import base64
def base64encode(input):
return bae64.encode(input)
The keyword may then be used like this:
| Test | ${encoded} = | Base 64 Encode | my input string... |
Hopefully this helps and do no hesitate to ask for further clarification.
[1] http://robotframework.googlecode.com/svn/tags/robotframework-2.1.1/doc/userguide/RobotFrameworkUserGuide.html#creating-test-libraries
[2] http://docs.python.org/library/base64.html
best regards,
__janne
${binary} | Get Binary File | test.jpg
${file}= | Evaluate | base64.b64encode('${binary}') | modules=base64