Forum Discussion
SmartBear_Suppo
Alumni
11 years agoHi,
You could use a Groovy script that will for instance get the value returned by the DataGen using property expansion, then add a constant large number to it. For example:
The Groovy Script step has a custom property named 'result' that will hold the computed value for further use in your test.
Regards,
Giscard
SmartBear Support
You could use a Groovy script that will for instance get the value returned by the DataGen using property expansion, then add a constant large number to it. For example:
def number = context.expand( '${DataGen#value}' ) as int
def finalNum = number + 95000
log.info "number " + finalNum
return finalNum
The Groovy Script step has a custom property named 'result' that will hold the computed value for further use in your test.
Regards,
Giscard
SmartBear Support