Pass Value to Teardown Test in Suite Document

Document ID : KB000073224
Last Modified Date : 14/03/2018
Show Technical Document Details
Introduction:
You can specify a startup test that runs before the suite has begun, and a teardown test that runs after the suite has completed. The startup test and the teardown test are not included in any test statistics. Events in these tests appear in the reports. If the startup test fails, test suite testing does not continue. You can use a MAR info file as a startup or teardown test. The primary asset of the MAR info file must be a test case.
Question:
I have a Suite where I want to pass a value from one of my test cases in the Suite to the Teardown test. How do I do this?
Environment:
All supported versions of DevTest.
Answer:
You cannot pass a value from the test cases in the Suite to a Teardown test.

You must write out the value you need from one of the test cases to a file. Then have the Teardown test read that file.
 
Additional Information:
As of DevTest  10.2.4, a Teardown test from a Suite is working as designed.

​Please open a new Idea on the DevTest Communities website to request a feature enhancement, see link below

https://communities.ca.com/community/ca-devtest-community