Loop within a Loop question
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007
01:42 PM
10-11-2007
01:42 PM
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
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007
04:59 PM
10-11-2007
04:59 PM
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
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
