Forum Discussion

678's avatar
678
Regular Contributor
7 years ago

DataLog creating duplicate rows

I have 2 rows in Excel when i load datasource and dataloop and run the datasource i am getting 2 rows but when i run test case i can see 4 rows in the datalog which 2 duplicate rows 

3 Replies

  • groovyguy's avatar
    groovyguy
    Champion Level 1

    The data log for a DataSource will show ALL data rows for ALL tests ran since it was opened. So if you open the data source to view it and run the tests 8 times, you'll see the data repeated 8 times. If you close the data source step and re-open it, that'll clear the data log. 

    • 678's avatar
      678
      Regular Contributor

      than why Datalog is displaying last row as empty row and loop is executing with empty values 

      • groovyguy's avatar
        groovyguy
        Champion Level 1

        Post a screen shot of your setup for the data source and loop?