Forum Discussion
Cizo89
12 years agoFrequent Contributor
Hi Leo,
since method setPropertyValue has String as both input params, I'm not sure if RegEx will work, probably not.
Here is the link to this method:
http://www.soapui.org/apidocs/com/eviwa ... .String%29
If you want to copy all your Project Properties to all your TestCases via Project Setup Script, this will work for you:
Regards,
Marek
since method setPropertyValue has String as both input params, I'm not sure if RegEx will work, probably not.
Here is the link to this method:
http://www.soapui.org/apidocs/com/eviwa ... .String%29
If you want to copy all your Project Properties to all your TestCases via Project Setup Script, this will work for you:
for (projectProperty in project.getPropertyList()){
for (testSuite in project.getTestSuiteList()){
for (testCase in testSuite.getTestCaseList()){
testCase.setPropertyValue(projectProperty.getName(), projectProperty.getValue())
}
}
}
Regards,
Marek