Forum Discussion
PM_r
Staff
13 years agoDelicate problem you got there 
This is my take to solve it. Create a Groovy TestStep after the Delay step with the following code:
Regards
Henrik
SmartBear Software

This is my take to solve it. Create a Groovy TestStep after the Delay step with the following code:
if( context.triesLeft )
{
log.info context.triesLeft
if( --context.triesLeft == 0 )
{
testRunner.fail( 'Giving up...' )
}
} else
{
context.triesLeft = 5 // this is the number of tries that you want to allow
}
Regards
Henrik
SmartBear Software