Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 1007 by [email protected]: Remove loop steps from log
http://code.google.com/p/robotframework/issues/detail?id=1007
Big for-loops can create very large amounts of log. Usually if the loop
steps pass, this log is not interesting.
A related problem is "Wait until keyword succeeds", which can create again
very large amounts of failing steps to the log.
We could create a mode in robot that will remove these steps or we add an
option to rebot.
As a workaround it is possible to use the attached script. It will take as
an argument an output.xml and write a new output where all passing for loop
steps have been removed and all but the two last steps from "wait until
keyword succeeds".
So you could run your tests like this:
pybot --logfile None --report None --output raw_output.xml my_tests
python remove_loop_steps.py raw_output.xml output.xml
rebot output.xml
Attachments:
remove_loop_steps.py 1.4 KB