Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to set a value of a variable in data source using groovy script

jngojngo
jngojngo Posts: 46

context.setValue( "x", "1000") ---> this is applicable when you inserted the value directly. Is there a way if you use the variable instead of the actual value. I tried using the sa
Example:
myVar = generate a random value.
context.setValue( "x", myVar.toString()) --> I tried this but does not work.

Comments