Is there any Execution variable to fetch ETM attachment status like 'success' or 'fail' using CLA batch scripting?
Hi all,
By using below batch scripting command I can able to attach\upload Test results to ETM
echo File=D:/PROJECT/ETM2/ETM_RemainingList_Estimation.xlsx >> %qm_AttachmentsFile%
Is there any way to fetch the attachment\upload status ?
qm_attachmentsFile execution variable is using for attaching a file , likewise is there any execution variable to fetch attachment status .
Thanks in advance .
|
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Apr 26 '23, 7:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 26 '23, 8:03 a.m. I have looked at the documentation: https://jazz.net/clmhelp/topic/com.ibm.rational.test.qm.doc/topics/t_add_cmd_line_attachments.html
For all I can tell, during a test executed with the command line adapter, you can create a temporary file that has a Java Properties format. Each line represents a link or a document with the name and a URL or absolute path to access the link or document to be able to add or upload it to the test result.
As far as I can tell, there is no upload happening while your script runs in the command line adapter. So there is no way for your script executed by the adapter, to tell any status change. All you have and can do is to interact with the test steps you execute in your script and succeed or fail based on that data. The upload and final result is outside of your control. It happens after your command line call already finished and is performed in the context of the command line adapter framework in ETM.
|
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.
Comments
What would be the status in this case and why would you need it?
Hi Ralph ,