How do we attach the Maven report to the Actual Result in RQM?
In my Automation framework, we are using Selenium/Java and Maven as the build management tool. In another project where Maven is not used, when I added this line to the bat file, it executed the testcases and then attached the report from the mentioned location to the actual result.
ECHO ExecutionReport=C:/Automation Workspace/CIO_Rational_RQM/Result/Report/RQM-Test-Report.html >> "%qm_AttachmentsFile%"
However, when I use the same line in my bat file to execute my Maven project, the results are not getting attached to the actual execution result. Is there some reason why this line does not work in Maven?
One answer
Maria,
It should work as the supported syntax is not really dependent on build management tool, just ensure that the file exist. and you have read permission. Few release back, we had some issue related to non-english characters in the attachment path but it is not the issue in recent versions,
- Could you confirm which version of RQM/adapter you are using?
- Do you have any error reported?
Regards,
Mehul
Comments
Thanks for replying, Mehul.
I am using adapter version 6.0.5 and no, i don't see any errors. The execution passes but the report is just not getting appended to the result. And the file definitely exists in the mentioned location.
Maria,
I would suggest to enable adapter logging and check if that has some additional details for the failure. Another post describes how to enable this logging, please refer it at Enable Adapter library logging.
Regards,
Mehul