robotframework-oxygen icon indicating copy to clipboard operation
robotframework-oxygen copied to clipboard

RF7.0 support

Open dlinh2011 opened this issue 1 year ago • 2 comments

Hello, I followed exactly your DEVGUIDE to try to write a new handler.

However, I got this error when I try to run with robotframework

robot --listener oxygen.listener --pythonpath . --variable LOCUSTFILEPATH:locusthandler/locustfile.py locusthandler/test.robot
==============================================================================
Test                                                                          
==============================================================================
Performance test should pass                                          | PASS |
------------------------------------------------------------------------------
Test                                                                  | PASS |
1 test, 1 passed, 0 failed
==============================================================================
[ ERROR ] Calling method 'output_file' of listener 'oxygen.listener' failed: TypeError: Keyword.__init__() got an unexpected keyword argument 'starttime'

I'm using Python 3.12 and Robot Framework 7.0

Can you help me figure out what the problem is ? Thank you so much !

dlinh2011 avatar Feb 07 '24 23:02 dlinh2011

Hi, I just saw that with Robot Framework 7.0 there is a problem with the backward compability of the timestamp format. I tried the option -legacy--output but it still doesn't work so I installed Robot Framework 6.1 and it works fine. Thank you :+1:

dlinh2011 avatar Feb 08 '24 00:02 dlinh2011

Thanks for confirming that RF7 indeed is not supported currently with Oxygen.

We will try to adress this issue soon.

But yeah, meanwhile please use RF6 with Oxygen

Tattoo avatar Feb 08 '24 05:02 Tattoo