Closed login4ajeet closed 4 years ago
What version of the agent are you running? Please, update your agent to the latest version and use RP_LAUNCH_ATTRIBUTES variable name instead.
Using robotframework-reportportal 3.1.1
@iivanou - Could you please let me know any specific version which will work for attributes key and value ?
ReportPortal version 4?
@iivanou - This is my current version . Is that NOT fine ?
I mean version of the Report Portal itself, not agent.
Its 5.2.1
Update your agent to version 5.0.3.
Done . Is that fine ?
Are you able to reproduce your problem with that version?
@iivanou - I tried with Report portal version 5.2.0 and below agent version-
Problem is now i am unable to see any test results on the report portal. Attributes NOT showing is 2nd thing. However below commands ran without any error/issue-
pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun6" --variable RP_PROJECT:ABC_Project RobotTestsFileFolderName
pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun6" --variable RP_PROJECT:ABC_Project --variable RP_LAUNCH_ATTRIBUTES:"DemoRegression:DemoTestTag" RobotTestsFileFolderName
pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun6" --variable RP_PROJECT:ABC_Project --variable RP_TEST_ATTRIBUTES:"DemoRegression:DemoTestTag" RobotTestsFileFolderName
Well... Try to remove the robotframework-reportportal-ng package 'cause it provides the same functionality. 5.0.3 agent reports to 5.2.0 Report Portal without issues on my side.
@iivanou - The issue was with six version . I was using 1.12.0 earlier and didnt work out. so upgraded to 1.15.0 and worked fine. Now i am using below config/version with report portal build 5.2.0 and able to get the attributes and values in proper way on the report portal launch dashboard.
For single attribute- pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun8" --variable RP_PROJECT:ABC_Project --variable RP_LAUNCH_ATTRIBUTES:"regression:tagtestdemoone" RobotTestsFileFolderName
For multiple attribute- pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun8" --variable RP_PROJECT:ABC_Project --variable RP_LAUNCH_ATTRIBUTES:"regressiondemo:tagtest demoreg:tagtesttwo DemoRegs:tagtestthree" RobotTestsFileFolderName
Thank you !!!
Welcome!
@iivanou - You may close the issue now. Thank you once again for your time and guidance
RP_LAUNCH_TAGS is NOT appearing in key value format on report portal while running the below pabot commands.
pabot --listener robotframework_reportportal.listener --escape quot:Q --variable RP_ENDPOINT:end_point_url --variable RP_UUID:3xyz--variable RP_LAUNCH:"AjeetDemoDryRun6" --variable RP_PROJECT:ABC_Project --variable RP_LAUNCH_TAGS:"DemoRegression:DemoTestTag" RobotTestsFileFolderName
Actual Result- DemoRegression:DemoTestTag is setting up as attribute values on the RP as shown in the screenshot. The attribute keys is empty Expected Result - DemoRegression should show as attribute keys and DemoTestTag should show as attribute values
Just for reference old issue- https://github.com/reportportal/agent-Python-RobotFramework/issues/68
Below is the screenshot from report portal .![image](https://user-images.githubusercontent.com/42564282/90133103-8bde8f00-dd8c-11ea-966b-fed86125f8b0.png)