Closed cola6969 closed 2 years ago
@cola6969 Can you please specify what exactly you'd like to add?
I'd like to add automatically report.html and log.html. My RF reports are saved as current data is Results folder.
@cola6969 Currently, you can attach the report.html only. Add --variable RP_ATTACH_REPORT:"True"
to the command line.
Unfortunately even if I have this variable in my configuration the report.html is not available from Report Portal. This option is not working for my project.
My variables.py file looks like this:
def get_variables(): variables = { "RP_UUID": "my_uuid", "RP_ENDPOINT": "https://report.endpoit.net", "RP_LAUNCH": "TEST_EXAMPLE", "RP_PROJECT": "user_personal", "RP_ATTACH_REPORT": "True", } return variables
Everything in Report Portal shows fine except no report.html attachment
Python version is 3.9.2 Robot Framework - 3.2.2
report.html is under: reportportal\Results\report.html
Where are you looking for the report? Show me the screenshot, please.
Never mind, I found where the problem was and found report.html in Report Portal ;p
The only thing that remains is log.html without which report.html is of little use
Adding other artifacts is not implemented yet. But it's been planned.
Is there any option that can add to Report Portal run attachments all RF results? If yes how i can do this?