Ask a Question

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

ralfoeldi
Visitor

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.)

 

 

1 REPLY 1
nmrao
Community Hero

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

You can explore meta programming feature of groovy.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: