Trying to use Groovyscript step to set property that is in Project View
In our test steps' address bar, we have:
And I have a Groovy test step that constructs the value for the "centralized2" property, but when I run the test step, it is not setting the value of the property in the Project view. The code that is supposed to set the project property value is:
testRunner.testCase.testSuite.project.setPropertyValue( "centralized2", finalTarget );
But, after I run the setup test step, the value of the "centralized2" property is not changed.
Can someone tell why that is not working?
Solved! Go to Solution.