Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 .



0 votes

Comments

What would be the status in this case and why would you need it? 

Hi Ralph ,


In General , when file is uploaded will get the status of upload , similarly
I would like to confirm whether file is attached successfully or not.

 



One answer

Permanent link

 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.  

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Apr 25 '23, 11:01 p.m.

Question was seen: 845 times

Last updated: Apr 26 '23, 8:03 a.m.

Confirmation Cancel Confirm