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

Fetching Test Suite Name from a CLA script

Hi,
I have a Command Line Script where i am triggering a simple batch file and printing the inbuilt execution variables.

I need to retrieve the Test Suite Name to which the parent test case of the current CLA script is linked.

I am using the variable "qm_RQM_TESTSUITE_NAME" as described in https://jazz.net/library/article/809.
However, i am always getting an empty string.

Hierarchy of artifacts in my project area.
Test Suite -> Test Case -> CLA Script

Can anyone help ?

0 votes



2 answers

Permanent link

 Try selecting the checkbox titled include built-in variables in the Execution Variables section of the test script editor.

0 votes


Permanent link

Hi Paul. Thanks for your response.

We have the built-in variables in the Execution Variables section of the test script selected.

So we are able to print Test Script and Test case details using
qm_RQM_TESTCASE_NAME, qm_RQM_TESTSCIPT_NAME, qm_RQM_TESTSCIPT_WEBID etc.

We have the problem only with Test Suite. Getting empty string with "
qm_RQM_TESTSUITE_NAME"

0 votes

Comments

I would suggest this is a defect if you're executing a test suite. 

1 vote

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,026
× 17
× 16
× 5

Question asked: Jul 13 '18, 7:46 a.m.

Question was seen: 2,543 times

Last updated: Jul 16 '18, 7:06 a.m.

Confirmation Cancel Confirm