yarab
15 years agoOccasional Contributor
Re: I think this is a bug
Hi all,
I have this reguest:
2
27
I define two properties: crsDS for cnum and AgeDS for age.
I use this script to do arithmatic operation between the two properties:
def num = context.expand( '${DataSource#crsDS}' )
def age = context.expand( '${DataSource#AgeDS}' )
def subt=age-num
com.eviware.soapui.support.UISupport.showInfoMessage( age + " - " + num + " = " + subt )
The value of properties are read from a Grid datasource.
1- Is this a bug?:
Result of operation :o:
15 - 1 = 5 ?
3-4=3?
37-3=7?
24-2=4?
...etc
2- Why it reads one line and skip one line from the Grid datasourse( it reads line 1,3,5,7 ..etc) ?
Thank you
I have this reguest:
I define two properties: crsDS for cnum and AgeDS for age.
I use this script to do arithmatic operation between the two properties:
def num = context.expand( '${DataSource#crsDS}' )
def age = context.expand( '${DataSource#AgeDS}' )
def subt=age-num
com.eviware.soapui.support.UISupport.showInfoMessage( age + " - " + num + " = " + subt )
The value of properties are read from a Grid datasource.
1- Is this a bug?:
Result of operation :o:
15 - 1 = 5 ?
3-4=3?
37-3=7?
24-2=4?
...etc
2- Why it reads one line and skip one line from the Grid datasourse( it reads line 1,3,5,7 ..etc) ?
Thank you