Forum Discussion
14 Replies
Sort By
- Cizo89Frequent ContributorHi Leo,
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 - hutabarat2014ContributorHi Marek,
Thank you for the solution. I will try that once I know where about the Project Setup Script located.
I tried to find this Setup Script at Project level. All I got from Project level is as follows:
Description,
Properties,
Load Script,
Save Script,
Report Script.
Please advise for the location of the Project Setup Script.
Many thanks,
Leo - Cizo89Frequent Contributor
- hutabarat2014ContributorThank you, Marek.
Related Content
- 4 years agoSuperTester
- 3 years agoCata