Solved
Forum Discussion
HimanshuTayal
4 years agoCommunity Hero
Abascal : If you know the desired Test Suite Name than you can write code in Load Script of Project as below:
prop = project.getPropertyValue("Property1")
project.getTestSuiteByName("TS1").setPropertyValue("Property1",prop)
Also, you can find help in this link about command line arguments.
- Abascal4 years agoNew Contributor
Hi, thanks for the hint. I followed your approach and worked like a charm. However, I have implemented it in different way. I will leave it below just in case someone can find it useful.
def prop = context.expand('${#Project#Property1}') testRunner.testCase.testSuite.setPropertyValue("PROP1TS", prop )
Where Property1 is at project level and PROP1TS at Test Suite level.
- HimanshuTayal4 years agoCommunity Hero
Abascal : I am glad that it helped.
Related Content
Recent Discussions
- 2 days agoemoya
- 2 days agoMyBalanceNow