Forum Discussion
aldana
14 years agoOccasional Contributor
Regarding this I found another problem. Is there a way to let a dynamic expansion evaluate once inside Properties-Step?
Problem is I want to set a property once for a whole test-case (multiple test-steps), but expression ${=(int)(Math.random()*100000000)} gets reevaluated every time the property is accessed. My expectation would be that the expression is evaluated once and the copied to the respective property (which breaks the test, because id is changing for every test-step).
Problem is I want to set a property once for a whole test-case (multiple test-steps), but expression ${=(int)(Math.random()*100000000)} gets reevaluated every time the property is accessed. My expectation would be that the expression is evaluated once and the copied to the respective property (which breaks the test, because id is changing for every test-step).