Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
To pass properties from testSuite to another TestSuite :
where ts and ts2 are test suites. try this for test cases it should work, too.
btw. log.info should be removed, it is there just to be sure.
You could get testCase from test suite by:
Does this helps? Let me know,
robert
To pass properties from testSuite to another TestSuite :
for( prop in ts2.properties ) {
log.info prop.key
log.info prop.value.value
ts.setPropertyValue( prop.key, prop.value.value)
}
where ts and ts2 are test suites. try this for test cases it should work, too.
btw. log.info should be removed, it is there just to be sure.
You could get testCase from test suite by:
def testCase = ts.testCases["<testCase name>"]
Does this helps? Let me know,
robert