Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low Target-2.7

New issue 1045 by pekka.klarck: `robot.run` and `robot.run_rebot` methods leave framework to inconsistent state if they fail
http://code.google.com/p/robotframework/issues/detail?id=1045

`robot.run` and `robot.run_rebot` methods can be used to run tests and use rebot programmatically. Currently when using them fails they raise an exception and some clean-up activities are not done. As a result output written to the console has all texts twice if these methods are used again.

Notice that:
1) In RF 2.7 alpha 1 texts are always written multiple times to console if these methods are used multiple times.
2) `robot.run_rebot` will be renamed to `robot.rebot` as part of issue 1044.

Reply via email to