Forum Discussion

ralfoeldi's avatar
ralfoeldi
Visitor
4 years ago

How do I transfer Objects (not Strings) to a TestCase in a RunTestCase Step?

Szenario is:

Testcase x references multiple other TestCases by calling Run TestCase Steps.

Results of one of these TestCases should be available to the following TestCases.

As I haven't found a way to access a Context available from everywhere (that can store Objects - not Strings) the approach at the moment would be to insert a Map into the calling TestCase x and use that as a common repo for values.

(I am not running a TestSuite. Not an option.)

 

 

  • nmrao's avatar
    nmrao
    Champion Level 3
    You can explore meta programming feature of groovy.