SuperSingh
7 years agoContributor
Accessing Test Case Property in Project's TearDown script
Hi All,
I was looking for groovy script to access property from test cases in the TearDown script (of Project)
On doing GetData simply returns " context.expand( '${#TestCase#TCCount}' )" [TCCount is the name of property]
I have multiple testcases but GetData returns TestCase when I try to load using ReadyAPI feature.
That's probably a bug in ReadyAPI
I tried by providing testcase name in place of "TestCase" but it does not return anything.
Can someone please provide an answer incase they have used this.
Thanks !