I am attempting to use a list of output files to merge them into one single file. I need to use a list to store these different files but when I call the rebot function using the list I get the following error,
[ ERROR ] Reading XML source '<in-memory file>' failed: TypeError: expected str, bytes or os.PathLike object, not list
I have tried converting the list to a string value but that will read the list as one long string, which is not what I want. Does anyone know how I can use a list and the rebot function? Here is my example code:
import robot
list_1 = ["output1.xml", "output2.xml"]
robot.rebot(list_1)