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

Command Line Adapter - exit codes

  I am using RQM 4.0.3 and we want to run scripts through command line adapter. After executing a script, it always return 'passed' or exit code :0 . But we want some other scenarios also like 'Failed', 'Incomplete' etc., For which we have return codes in properties file. But please can some one help us in how to return those codes and let RQM interpret that.

0 votes



One answer

Permanent link

Hello Manjunath,

this sound just like a help topic you can find here: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/topic/com.ibm.rational.test.qm.doc/topics/t_customize_cmd_line.html

Procedure

Optional: Customize the commandline.properties file on the test target machine. A process exit code is mapped to the script Actual Results. The default mapping is as follows:
Exit code Script Actual Results
0 Passed
* Failed
40 Error
41 Incomplete
42 Inconclusive
43 Blocked
44 Partially_blocked
45 Permanently_failed
46 Deferred
Edit the commandline.properties file on the test target machine before you start the adapter. This file controls the Actual Results and can add text to be appended to the end of the execution results log. The text in the properties file has more information on how to update the file.
Just configure the commandline.properties file and it should work.
Regards,
Thomas

2 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
× 11,079

Question asked: Jul 01 '13, 7:01 a.m.

Question was seen: 6,561 times

Last updated: Jul 01 '13, 7:41 a.m.

Confirmation Cancel Confirm