Forum Discussion
- LucianCommunity HerotestRunner.testCase.setPropertyValue("nameForYourTestCaseProperty", a)
That's all. The above method should add the property to your test case if the property doesn't already exist.- SriniMarva27Occasional Contributor
Hi Lucian,
Thanks for your reply. I want to add a property name (key) using a variable value and not the property value. How do I do that?
- LucianCommunity Hero
It is equally simple:
def a = "Property1" testRunner.testCase.setPropertyValue(a, "")
Related Content
- 2 years ago
- 7 years ago