Forum Discussion

sdruker's avatar
sdruker
Contributor
10 years ago
Solved

Use CSV for DataDriven Tests

Hi,



I want to use CSV for DataDriven Tests and I wanted to ask what is the best way to manage these files:



1.should I store Each Keyword test data in a different? (if yes, I would Have a lot of files which is hard to manage)



2. Is it possible to work with work sheets? does testcomplete able to handle number of sheets in one csv file? (I was thinking of haveing one file, and have sheet for each test





Thanks,

Sivan
  • Yes you can use sheets - like this:



    DDT.ExcelDriver(FileNameSheetUseACEDriver)



3 Replies

  • Yes you can use sheets - like this:



    DDT.ExcelDriver(FileNameSheetUseACEDriver)



  • Hi - sorry - I don't think you can do the same with CSV files as there is no concept of sheets.
  • Hi Tony,

    Thank you for your reply.
    I'm using csv filed and not excel.
    Is it possible to do the same with csv files?