reportportal / agent-Python-RobotFramework

Robot Framework integration for Report Portal
Apache License 2.0
59 stars 34 forks source link

Robot Framework attachments are not present in ReportPortal #148

Closed lmazureNX closed 1 year ago

lmazureNX commented 1 year ago

Describe the bug My configuration:

Steps to Reproduce

  1. I run the test with the command line
    robot --outputdir reports --listener robotframework_reportportal.listener --variable RP_UUID:"b58f8cf0-56a1-44eb-a1ca-45453d5302bc" --variable RP_ENDPOINT:"http://127.0.0.1:8080" --variable RP_LAUNCH:"my ROBOTFRAMEWORKSAMPLES launch" --variable RP_PROJECT:"ROBOTFRAMEWORKSAMPLES" --xunit junit_report.xml --variable RP_ATTACH_XUNIT:"True" --variable RP_ATTACH_REPORT:"True" --variable RP_ATTACH_LOG:"True" mazure.robot
  2. In ReportPortal, I can see the test results : image the "stack trace" image but no attachment image

Expected behavior Given the command line I used (--variable RP_ATTACH_XUNIT:"True" --variable RP_ATTACH_REPORT:"True" --variable RP_ATTACH_LOG:"True"), I was expecting to see

Actual behavior No attachement is present.

Package versions The Python modules are

$ pip list | grep report
reportportal-client             5.2.3
robotframework-reportportal     5.3.0

Additional context

HardNorth commented 1 year ago

@lmazureNX Please look for reports in the root of my ROBOTFRAMEWORKSAMPLES launch (you need to click on my ROBOTFRAMEWORKSAMPLES launch #22 breadcrumb and open LOG VIEW tab).

lmazureNX commented 1 year ago

@HardNorth Sorry... PEBCAK Thanks for you help!