--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
Did I get it right that everything else works fine but the text you
write to the console is not aligned nicely with the text Robot itself
writes there? I don't think there's any easy solution for that
problems because your library should know what Robot has written and
what it is going to write. Similar problem occurs when there are
errors or warnings during the execution. These messages are written to
stderr when they occur and aren't generally aligned very well with the
"normal" execution messages in the console.
One thing you could try is writing the text to sys.__stderr__. It
doesn't help with alignment in the console but you can then easily
forward your messages (and possible errors and warnings) into a file
or somewhere else. Depending on your use case, using listener as
already suggested by Chris might also work.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org