Forum Discussion
NLange
14 years agoOccasional Contributor
Thank you for the reply Ole,
I have used added the curly brackets however it will not write r.status into the properties. It seems every time i use r.status other than log.info it breaks the script.
When I substitute a fix value for r.status it will write into the properties.
Can you assist further. I can provide my sample test case if you need.
I have used added the curly brackets however it will not write r.status into the properties. It seems every time i use r.status other than log.info it breaks the script.
When I substitute a fix value for r.status it will write into the properties.
for( r in testRunner.results )
{
testRunner.testCase.setPropertyValue(r.testStep.name, "5");
log.info "TestStep [" + r.testStep.name + "] " + r.status;
}
Can you assist further. I can provide my sample test case if you need.