Forum Discussion

hammer's avatar
hammer
Occasional Contributor
14 years ago

Iterating TestCase Properties

Hi,

i want to iterate over my testCase Properties.
when i try the following, it iterates over the array, but the values never get changed, but I don't know why!

 def iterator = testRunner.testCase.getProperties();
iterator.each(){

it.setValue("testValue");

}


when i try to read every properties name, i can't even run the code "No signature of method: java.util.HashMap$Entry.getName()"
 def iterator = testRunner.testCase.getProperties();
iterator.each(){
it.getName();

}


Can somebody please help me?
Thanks a lot! Hammer
No RepliesBe the first to reply