hammer
14 years agoOccasional Contributor
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!
when i try to read every properties name, i can't even run the code "No signature of method: java.util.HashMap$Entry.getName()"
Can somebody please help me?
Thanks a lot! Hammer
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