Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20073

how to pass groovy context array to other testCases in testSuite

$
0
0

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


Viewing all articles
Browse latest Browse all 20073