teak
9 years agoContributor
how to pass groovy context array to other testCases in testSuite
Hi,
I have an array [list] in a groovy script [from the response of previous request].
How can I access this array from another testCase in the same testSuite?
as far as I understand context is only available from within the testCase [I can access the array from other testSteps in the same testCase]
I was thinking of converting to string [toString] and storing it as a property.
Then getting the property in another testCase, converting the string back to an array and using it there.
This seems a bit messy to me.
Thanks