I have searched (googled...) this now two days and I can't figure it out so perhaps I can get some pointers here.
I can succesfully merge two result files in command line by:
rebot --outputdir reports --output Zimulation.xml --merge reports\Zimulation.xml reports\rerun\Sandbox.xml
The merged results appear in Zimulation.xml
Now when I try the same thing in python script, I can not get result files merged.
If I try to convert command line arguments directly, it gives error "[ ERROR ] One or more data source needed.":
robot.rebot(outputdir='reports',output='Zimulation.xml',merge=['reports/rerun/sandbox.xml','reports/Zimulation.xml'])
If I add data source, like this:
robot.rebot('reports/Zimulation.xml',outputdir='reports',output='Zimulation.xml',merge='reports/rerun/sandbox.xml')
the produced result file contains only results in original Zimulation.xml.
Question: how do I merge two result files in python script with robot.rebot(...) ?
Thank you.
-M-