Ask a Question

Loop within a Loop question

alibaba82
Super Contributor

Loop within a Loop question

Hello,
I have two datasource (outer, inner) and two corresponding datasourceloop. I notice that when the inner loop finishes, the flow goes back to the outer loop as expected but upon hitting the inner loop again it does not go through the inner loop.

Do I have reset the inner loop before exiting or something like that ?

Ali
1 REPLY 1
omatzura
Super Contributor

Hi Ali,

yes, you're right.. hmm.. consider this a bug.. you could try working around this by creating a groovy-script before your inner datasource containing the following:

testRunner.testCase.getTestStepByName( "Inner DataSource" ).prepare( testRunner, context )

This is not really necessary the first time around, but it shouldn't do any harm..

Hope this helps for now..

regards!

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: