I have a scenario where i am polling the database while something i expect happens (because it takes some time for stuff to happen in db). I am using groovy for looping, something similar to: def...
It is very cool that i tend to figure things out 5 minutes after i have given up and come to the forum for help. The TestCase has "fail if it has any errors in any steps" option. doh.