anand1
12 years agoContributor
[Resolved] Setting Value in DataGen Test Step
In my test at one point I am getting the value from a Datagen property using
context.expand( '${DataGen#Var1}' )
Now after doing some manipulation I need to set the value back...in the same test step i.e.Datagen
I tried :-
testRunner.testCase.testSteps["DataGen"].setPropertyValue( "Var1", m )
It is not working, then I tried
groovyUtils.setPropertyValue('DataGen', 'Var1', m), even this is also not working.
What should I do to set the value in the same property variable named as Var1..?
Looking forward for a reply.......
context.expand( '${DataGen#Var1}' )
Now after doing some manipulation I need to set the value back...in the same test step i.e.Datagen
I tried :-
testRunner.testCase.testSteps["DataGen"].setPropertyValue( "Var1", m )
It is not working, then I tried
groovyUtils.setPropertyValue('DataGen', 'Var1', m), even this is also not working.
What should I do to set the value in the same property variable named as Var1..?
Looking forward for a reply.......