Forum Discussion
Hey jcabelloa
I'm answering this cos noone else has yet.
It isn't possible with the out of the box Datasource functionality - however I'm sure I've seen something similar using groovy script a while back (but not on the forum - I was looking for something similar about 6 months ago and found a blog that mentioned doing this). youd need to use Excel rather than a flat file though.
I cant script myself - but the reason I'm answering is cos I'm wondering have you considered all possibilities for doing what you need or have you just latched onto the one option? When trying to resolve a problem people tend to latch onto the first approach they think of and it isn't always the best/most efficient (I do this all the time). Have you investigated altering your approach (so you dont need the cycles property) to use the out of the box functionality to get what you need instead?
Cheers,
rich
Hi richie
First of all thanks for your answer.
There are always other options for creating loops but "Data Source" is already out there and it works fine so I would really rather go for that solution than coding myself the loop.
I need to modify "End Row" with a property because some tests will neend 5 loop iterations and some other will need 30 iterations of the same loop (this is just an example).
I imagine I will have to code some groovy.
Regards,
Joaquin.