HowTo test a Robot Task with Robot Framework?


we have Robot Tasks that we like to test. Since Robot Framework is a test automation framework it makes sense to run Robot Tests that execute Robot Tasks.

Currently we do it like this:

  1. Start robot test case from command line
  2. Robot test case prepares test state
  3. Robot test case start robot task with Process library
  4. Robot test case checks status code from Process and validates it passed.
  5. Robot test case adds link to task-log.html to its own log.html

Now, this is simple, but there are a few optimization possible. Esspecially using the Process library does not seem right, since it would easily be possible to run robot in robot, I guess?

Is it possible to run robot in robot? Has anyone tried that before? Does anyone already have keywords to share?