Forum Discussion
stenofski
12 years agoOccasional Contributor
Thanks SiKing,
the solution you suggested works fine for me. Here the litle script I'm using now.
the solution you suggested works fine for me. Here the litle script I'm using now.
//**get properties from testCase, testSuite and project
//def testCaseProperty = testRunner.testCase.getPropertyValue( "WSTMP1" )
def testSuiteProperty = testRunner.testCase.testSuite.getPropertyValue( "WSTMP1" )
String newWSTMP1 = testSuiteProperty[0..-2]
//**setting values is equally straigh forward
//testRunner.testSuite.setPropertyValue( "WSTMP1", var )
testRunner.testCase.testSuite.setPropertyValue( "WSTMP1", newWSTMP1 )