It's all about the answers!

Ask a question

Fetching Test Suite Name from a CLA script


Abhishek Biswas (52112) | asked Jul 13 '18, 7:46 a.m.

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 ?

2 answers



permanent link
Abhishek Biswas (52112) | answered Jul 15 '18, 5:53 a.m.

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"


Comments
1
Paul Slauenwhite commented Jul 16 '18, 7:06 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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


permanent link
Paul Slauenwhite (8.4k12) | answered Jul 13 '18, 10:13 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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

Your answer


Register or 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.