Closed jeisonthiago closed 1 year ago
I investigated the causes of this error, which turned out to be the same issue reported by other people on GitHub. I managed to resolve the problem by integrating Robot Framework tests directly into Qase. The issue was related to the folder name "listener" starting with an uppercase "Listener". Somehow, this was causing problems. However, when I changed it to lowercase, the problem was resolved.
I opened a PR to fix this issue: https://github.com/qase-tms/qase-python/pull/151
I'm having problems integrating automated tests in a robot framework directly into Qase, here's the print of the image with the execution of the code.
$ robot -d ./logs --listener qaseio.robotframework.Listener tests/login.robot [ ERROR ] Taking listener 'qaseio.robotframework.Listener' into use failed: Importing listener 'qaseio.robotframework.Listener' failed: ModuleNotFoundError: No module named 'qaseio.robotframework.listener' Traceback (most recent call last): File "C:\Python310\lib\site-packages\qaseio\robotframework__init__.py", line 1, in
from .listener.qase_listener import QaseListener
PYTHONPATH:
C:\Python310\Scripts\robot.exe
C:\Python310\python310.zip
C:\Python310\DLLs
C:\Python310\lib
C:\Python310
C:\Python310\lib\site-packages
The test passes, however, this error is displayed and the tests are not integrated into the Qase, could you check a solution, did I need to add a configuration file to carry out the integration?