Forum Discussion
groovyguy
7 years agoChampion Level 1
If you need to store the result produced by a groovy script, I find the best way is to store it as a property.
Example: To store it in a Properties test step in the same test case:
context.testCase.testSteps["Properties Test Step Name"].setPropertyValue("PropertyName", "PropertyValue");
You can expand upon this to store it at the test case, test suite, or project level as well. Hope that helps!
- SankarB7 years agoOccasional Contributor
Value is not getting set
Related Content
Recent Discussions
- 13 hours agodipsthorat
- 17 hours agoisbiat
- 21 hours agoLea
- 2 days agoarmygrad