Hi,
Can someone let me know how can I use allure_robotframework listener in python with the robot.run method?
Thanks
Hi,
Can someone let me know how can I use allure_robotframework listener in python with the robot.run method?
Thanks
Hi Hari,
I’m not familiar with this specific listener, but normally you add a listener by specifying it on the robot command line. From the command line help:
--listener listener * Class or module for monitoring test execution.
Gets notifications e.g. when tests start and end.
Arguments to the listener class can be given after
the name using a colon or a semicolon as a separator.
Examples: --listener MyListener
--listener path/to/Listener.py:arg1:arg2
so in your case that would probably be something like this:
robot --listener allure_robotframework.py you_robot_file.robot
Dave.