mohan1
10 years agoOccasional Contributor
(SoapUI freeVersion) For loop in groovy.
Help please.
(SoapUI freeVersion) For loop in groovy to make a data loop. But only one value ( last cell value) is taken.
for( x=1 ; x<sizeR ; x++)
{
bucket=sheet1.getCell(1,x).getContents()
log.info bucket
propTestStep.setPropertyValue("bucket",bucket)
}
Found Solution
Adding below step worked out. Simple Solution. I thought the loop automatically sends all values to properties. Cheers!
testRunner.runTestStepByName("teststepname");