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

Passing execution variables between 2 testcases

 I have 2 test cases , each containing test scripts. These test scripts are linked to external automation tool.


I have created a test suite which contains these 2 test cases.
Basically i need to pass execution variable created in test case1 or test script1 to testcase2 or test script2 .
I have created execution variable(example artifact variables) in test case1 of rRQM server.
According to the documentation we can edit the var file like adding new execution variable, updating existing execution variable etc,so that the rqm sends the modified values in var file(execution variable file) after the execution of  testcase1 to the testcase2.

HERE IN MY CASE I AM TO ACCESS THE FILE PATH THROUGH %qm_ExecutionVariable% AND I HAVE MODIFIED THE VALUES AND ADDED NEW ONES.
BUT THESE MODIFIED ONES ARE NOT CARRIED TO THE NEXT TEST CASE, ONLY THOSE EXECUTION VARIABLES WHICH ARE PRESENT IN THE RQM SERVER ARE CARRIED AWAY.

0 votes


Accepted answer

Permanent link

Go to test case section of test suite and check the check box for "Pass execution variables between scripts" and run the test suite in sequential mode.

Chowda Reddy selected this answer as the correct answer

0 votes

Comments

Hi thanks for your valuable reply & spending time to see the question ..

Point here is check box is 'checked'. & the execution variables defined in rqm server is getting passed to next test case, but when we add/modify new execution variables in the var file. (it is the file that contains execution variable defined in testcases or test script) those variables are not getting passed to the next testcase.

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,027

Question asked: May 03 '18, 9:27 a.m.

Question was seen: 1,534 times

Last updated: May 28 '18, 3:58 a.m.

Confirmation Cancel Confirm