Forum Discussion

ohaya's avatar
ohaya
Contributor
3 years ago

Trying to use Groovyscript step to set property that is in Project View

Hi, In our test steps' address bar, we have: ${#Project#centralized2}   And I have a Groovy test step that constructs the value for the "centralized2" property, but when I run the test step, it i...
  • ohaya's avatar
    3 years ago

    I found the solution.  I had to add ".toString()":

     

    testRunner.testCase.testSuite.project.setPropertyValue( "centralized2", finalTarget.toString() );