Forum Discussion
Cizo89
12 years agoFrequent Contributor
Hi Leo,
sorry about that.
So if you want to copy only properties starting with/containing "c_", try this script:
Regards,
Marek
sorry about that.
So if you want to copy only properties starting with/containing "c_", try this script:
for (projectProperty in project.getPropertyList()){
if (projectProperty.getName().contains("c_")){
for (testSuite in project.getTestSuiteList()){
for (testCase in testSuite.getTestCaseList()){
testCase.setPropertyValue(projectProperty.getName(), projectProperty.getValue())
}
}
}
}
Regards,
Marek