Forum Discussion
EmBer
12 years agoNew Contributor
This doesn't have your file path names because i don't know how many you will have but this will create testSuite level properties based on how long the loop runs
for(i=0; i<10;i++){
def temp = "cloud" + i.toString()
testRunner.testCase.testSuite.addProperty(temp)
testRunner.testCase.testSuite.getProperty(temp).setValue(i.toString())
}
This creates 10 properties that are all "cloud0, cloud1...." with values "0,1....". You can do the same kind of thing for your File properties.
I hope that helps
for(i=0; i<10;i++){
def temp = "cloud" + i.toString()
testRunner.testCase.testSuite.addProperty(temp)
testRunner.testCase.testSuite.getProperty(temp).setValue(i.toString())
}
This creates 10 properties that are all "cloud0, cloud1...." with values "0,1....". You can do the same kind of thing for your File properties.
I hope that helps
Related Content
- 9 years agoOrph