Python- Robot Framework Rebot Using List

I was able to find a simple solution by using robot.rebot_cli() instead of robot.rebot(). The answer to my example code shown above is as follows. Also, (a side note) running rebot_cli will terminate the program once it is finished merging the files together. To prevent this from happening I included exit=False :

import robot
list_1 = ["output1.xml", "output2.xml"]
robot.rebot_cli(list_1,exit=False)

Leave a Comment