Is it possible to add extra attachments to an RFT remote script launched from RQM?
Hi,
I am launching RFT scripts via RQM and the standard RFT logs are being published back to RQM as an attachment. This works fine. My question is:
Is it possible within the RFT script to add extra attachments that will then be published back with the test result in RQM? My test runs collect quite a bit of extra information that I would like to see as an attachment within RQM afterwards.
I looked at the RationalTestScript from which my tests derived but there does not seem to be any obvious methods exposed. I guess I am looking for something like in TFS/MTM where you drop any files created during a test into a well known folder and they are automatically published back to TFS.
Is there an equivalent feature from within RFT tests launched via RQM?
I also looked in the System.getProperty("rqm.task") Xml file and as there is no ID for the execution result at this time, my options appear limited when it comes to associating attachments with the current test run via the REST API.
Any help appreciated.
Cheers!
GS