Incremeting the variable declared at scenario level
Options
krishnasoa
Posts: 13 ✭
in SOAtest
Hi,
I declared a variable(integer type consider x=0) at scenario level. I have a value(consider 3) coming from the JSON data bank. Now I have to increment my scenario level variable(0) upto value(3) that I'm getting from JSON data bank. Please suggest me a way to do that.
Thanks
0
Comments
-
In your JSON data Bank extract the value 3 from element, then press "Modify" button select "Data Source Column" and check the "variable" option button in the right dropdown combo box select your x variable. This should be all you need to assign any extracted value from the JSON element to test suite variable.
2