Forum Discussion

dheresantosh's avatar
dheresantosh
Occasional Contributor
7 years ago
Solved

Can any one help me to set data source loop for top 5 rows in Excel Sheet.

hi ,

 

I have tried it but loop getting in infinite loop and it is reading all rows from excel.

How can i stop it for mentioned rows??

 

Thanks,

Santosh Dhere.

  • sanj's avatar
    sanj
    7 years ago

    ok DO this to avoid infinite loops!

     Have loop going from 0 to 4 only!

    This can be set via settings for your datasource

2 Replies

  • Radford's avatar
    Radford
    Super Contributor

    A couple of things jump to mind, first are the DataSource options set correctly? i.e. the start and end row options. Secondly, does the "Target Step" of the DataSource Loop point a test step after the DataSouce?

     

     

     

     

     I have seen some people reference the data source loop back to DataSource step itself.

     

    • sanj's avatar
      sanj
      Super Contributor

      ok DO this to avoid infinite loops!

       Have loop going from 0 to 4 only!

      This can be set via settings for your datasource