Forum Discussion
ReshmaSachdev
13 years agoContributor
Hello,
Can use following groovy:
def TrnType = context.expand( '${Properties#TrnType}' )
def PostedDt = context.expand( '${Properties#PostedDt}' )
log.info TrnType
log.info PostedDt
assert TrnType == "Debit"
assert PostedDt >= "2013-09-01" & PostedDt <= "2013-09-30"
here, TrnType and PostedDt can be directly used from response[ or store them at properties test step for later use if any]
Hope it helps.
Can use following groovy:
def TrnType = context.expand( '${Properties#TrnType}' )
def PostedDt = context.expand( '${Properties#PostedDt}' )
log.info TrnType
log.info PostedDt
assert TrnType == "Debit"
assert PostedDt >= "2013-09-01" & PostedDt <= "2013-09-30"
here, TrnType and PostedDt can be directly used from response[ or store them at properties test step for later use if any]
Hope it helps.