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
Maria Amalan
commented May 08 '18, 1:51 a.m.
Thanks for replying, Mehul.
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
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.