On 24/11/05, Bryn Evans <[EMAIL PROTECTED]> wrote:
> Thanks for this. Moving the CSV Data Set config element outside the loop did
> not work. The test continued indefinitely, using only the first row from the
> file.
Pity. I guess that's because the next row is not retrieved until the
loop is entered.
> I'm afraid I don't understand your comment about "could be done via a
> property...."
I meant that if the user defined the property, CSV Data Set could use
it to determine if a line was a comment or not.
If it unconditionally assumed that all lines starting with "!" (say)
were comments, this could cause problems if someone wanted to enter a
"!".
But actually, it might just be better to have a checkbox on the GUI to
say that the first line of the file is a header.
> Anyhow, I've worked around the problem by adding another column to the data
> sheet, and inserting an "X" into that column for the rows I want to be
> executed (ie all except first and last.) I've modified CSV Data Set to read
> in this column also (variable name "Run") and I've inserted an If controller
> between the While controller and the rest of the test, with condition
> "${Run}" == "X". It seems to work.
OK, good.
S.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]