There are many code examples available in the "examples" subdirectory of Robot Testing Framework.
"examples"