Forum Discussion
AYedidya
11 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ā¦
Related Content
- 4 years agoRobertPeip
- 6 years agomriedmuel