def a = Property1
testRunner.testCase.addProperty(<Value of a>)
As you can see in the above piece of code, I have declared a variable named 'a' and assigned a value of Property1. Now how do I add a property using the variable 'a'?
Solved! Go to Solution.
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?
How do I add a property named Property1 at test case level using the variable 'a' reference?