Forum Discussion
AYedidya
12 years agoNew Contributor
I found out I can directly share the context between teststeps .
Script#1:
context.setProperty("metaDataHashtable",metaDataHashtable )
and then access it from scrip#2:
def metaDataHashtable = context.getProperty("metaDataHashtable")
All I had to do is run the entire testcase (first script#1 and then script#2)
I didn't know it was so simple…
Script#1:
context.setProperty("metaDataHashtable",metaDataHashtable )
and then access it from scrip#2:
def metaDataHashtable = context.getProperty("metaDataHashtable")
All I had to do is run the entire testcase (first script#1 and then script#2)
I didn't know it was so simple…
