tomaszarmata
10 years agoContributor
How to get TestCase property from diffrent TestCase
Hello,
I have test structure like this:
* TestSuite1 ** TestCase1 *** TestCase1Property1 ** TestCase2
*** TestCase2Property1
When I tried to get TestCase1Property1 by "PPM > get Data" it returns:
context.expand( '${#[TestSuite1#TestCase1]#TestCase1Property1}' )
Is there any way to do that a little bit more dynamic? Like it returns when I want to get property from the same TestCase:
context.expand( '${#TestCase#TestCase2Property1}' )
So I want to use TestSuite instead of TestSuite1. Should work something like this?
context.expand( '${#[TestSuite#TestCase1]#TestCase1Property1}' )