Forum Discussion

BhuvanShanmugam's avatar
BhuvanShanmugam
Contributor
9 years ago

how to copy run testcase output to next run testcase

 

I have two test cases (open and close session) with one property (session id) each to use as a "function".

I have a top level test case which calls the above two as "Run TestCase".

How do I get the output of one (session id) and pass it as input to the other.

A property transfer between the "Run TestCase" steps does not seem to work.

 

Thanks

Bhuvan

 

  • nmrao's avatar
    nmrao
    Champion Level 3
    1. It is general practise that each test case is independent. Here it seems that you are bringing dependency.

    2. If it is necessary, then save the session id at test case level so that it can be accessed easily to all the test cases of the same suite.