Forum Discussion

terry_liu's avatar
terry_liu
New Member
4 years ago

How to set a max Number of rows with script?

How to set a max Number of rows with script?
  • ChrisAdams's avatar
    ChrisAdams
    4 years ago

    Hi,

     

    The 'number of rows' dialog only shows a preview of the data so you can check you have the right columns defined.  It is not intended to define the number of rows for the test.

    I typically use Excel for my data driven tests.  I use the first column to define whether or not to run the step or even stop prematurely.  E.g. first col contains either YES, NO or STOP.

    You could apply something similar in your Groovy script, but without seeing the full script, as suggested by nmrao , then it's difficult to help further.

     

    Chris