When run test via pabot and marge the result, I am facing the issue, that merged files show combine result but screenshot are not visible as combine results file location is different. To solve the problem, I need to copy all the screenshot to the same directory of new result.html file, which I can't as for each test suite, selenium starts file name from screen-shot-1.jpg and so on. If I put that in one directory then it will over write the file.
Can we have a provision that screenshot on failure should have unique name every time (i.e. epoch time in ms, in file name).
When run test via pabot and marge the result, I am facing the issue, that merged files show combine result but screenshot are not visible as combine results file location is different. To solve the problem, I need to copy all the screenshot to the same directory of new result.html file, which I can't as for each test suite, selenium starts file name from screen-shot-1.jpg and so on. If I put that in one directory then it will over write the file.
Can we have a provision that screenshot on failure should have unique name every time (i.e. epoch time in ms, in file name).