So, fairly new to robot framework. Using Pycharm, I have created a test suite which has two directories. One for test scripts and one for resource files. The tests all run fine sequentially, when using:
robot test_directory
or
pybot test_directory
I need to now run them in parallel. I have found and installed pabot using:
pip install -U robotframework-pabot
In the Pycharm terminal I run the following:
pabot test_directory
I get the following error:
**
Traceback (most recent call last):
File "C:\Python\lib\runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Python\lib\runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:\Python\lib\site-packages\pabot\__init__.py", line 1, in <module>
from .PabotLib import PabotLib
File "C:\Python\lib\site-packages\pabot\PabotLib.py", line 22, in <module>
from robotremoteserver import RobotRemoteServer
File "C:\Python\lib\site-packages\robotremoteserver.py", line 103
except (OSError, select.error), err:
^
SyntaxError: invalid syntax
**
I have also tried:
pabot test_directory *.robot
pabot test.robot
pabot test_directory test.robot
I am using RF 3.0.2, Python 3.6
Can anyone point out what I am doing wrong and point me in the right direction?