Contributions
Re: Creating properties at the Test Case level, initialized by Groovy scripts
Thanks, Ole -- This was an exploratory Test Suite, so I deleted it and started over, and now everything looks much better. I defined a global Property 'xactId', and now I can dereference it as "${xactId}". However, I get an empty string when I refer to it using "${#Global#xactId}". Do I have the scope syntax right? Similar exercises for "${#Project#xactId_pr}", "${#TestSuite#xactId_ts}", and "${#TestCase#xactId_tc}" all work just fine, it is just when I use the #Global# scope declaration that the string comes up empty. -- Sean1.7KViews0likes0CommentsRe: Creating properties at the Test Case level, initialized by Groovy scripts
I see a similar situation in SoapUI 2.0.2 this afternoon -- the XML in my Test Step includes a Property Reference " ${xactId} ", where the 'xactId' property itself has the value "qatest_1234", and is defined at the TestCase level. However, the XML that actually arrives at the server has the same string as the TestStep -- i.e., " ${xactId} " -- instead of the substituted value that I was expecting: " qatest_1234 ". I am still a newbie -- have I accidentally set a flag that turns off Property Expansion? Or perhaps I don't have my scope set correctly? (I have tried this using "${#TestCase"xactId}", with exactly the same outcome.)1.7KViews0likes0Comments