Forum Discussion
prouser
12 years agoContributor
Thank you for your quick response.
So as it is not possible to add custom properties in the groovy test step
I added my properties to the test case and updating these properties using a setter statemet
"testRunner.testCase.setPropertyValue( "myproperty", myValue)"
and accessing in other test steps using the following command:
${#TestCase#myproperty} (or) context.expand('${#TestCase#myproperty}') as required
Regards
ProUser
So as it is not possible to add custom properties in the groovy test step
I added my properties to the test case and updating these properties using a setter statemet
"testRunner.testCase.setPropertyValue( "myproperty", myValue)"
and accessing in other test steps using the following command:
${#TestCase#myproperty} (or) context.expand('${#TestCase#myproperty}') as required
Regards
ProUser