Forum Discussion
AnandKiran
15 years agoFrequent Contributor
Hi,
I found out the way to get the test step Status. hope it might be useful
def list1 = new ArrayList()
def count1 = 0
for( r in testRunner.results )
{
count1++
def item = "TestStep " + r.testStep.name + " finished with status " + r.status + "Time Taken ::" + r.timeTaken + "ms"
list1.add(item)
}
for (values in list1)
log.info "Collected Values are "+ list1
I found out the way to get the test step Status. hope it might be useful
def list1 = new ArrayList()
def count1 = 0
for( r in testRunner.results )
{
count1++
def item = "TestStep " + r.testStep.name + " finished with status " + r.status + "Time Taken ::" + r.timeTaken + "ms"
list1.add(item)
}
for (values in list1)
log.info "Collected Values are "+ list1