I'm working on a RF project with directory names that contain spaces and special characters. When I tried to run a pabot command using --pabotlib --resourcefile I encountered a warning from the Pycharm's terminal “specified resource file doesn’t exist. Some test may fail or continue forever.”
The command I used is something like this:
pabot --processes 2 --pabotlib --resourcefile "my\ data\ files/users.dat" "my tests"
I've played around the quotes in the command but then I encountered this error:
ValueError: invalid literal for int() with base 10: 'files/users.dat'
It seems like it’s splitting the path on the spaces.
Locating resource file will only work by renaming the directory and removing the spaces, but spaces in the path to the tests is ok.
I'm working on a RF project with directory names that contain spaces and special characters. When I tried to run a pabot command using --pabotlib --resourcefile I encountered a warning from the Pycharm's terminal “specified resource file doesn’t exist. Some test may fail or continue forever.”
The command I used is something like this:
pabot --processes 2 --pabotlib --resourcefile "my\ data\ files/users.dat" "my tests"
I've played around the quotes in the command but then I encountered this error:
It seems like it’s splitting the path on the spaces.
Locating resource file will only work by renaming the directory and removing the spaces, but spaces in the path to the tests is ok.
For additional info: You can refer to this thread: https://forum.robotframework.org/t/how-do-you-setup-test-data-when-running-parallel-tests-using-pabot/7049/12