Forum Discussion

akeshri's avatar
akeshri
New Contributor
16 years ago

Not able to read data from csv file

Hi ,



I tried to read data from csv file but its in different format thats why I am not able to read from csv file using testComplete. Please provide me the solution.








set dtobj = DDT.CSVDriver("\\testdata\madata\automation\Reporting\AIR00226\AUM_AUC_&_Enrollment_Rates.csv")



Sponsor_Cohort=dtobj.Value(0)


dtobj = .CSVDriver("\\testdata\madata\automation\Reporting\AIR00226\AUM_AUC_&_Enrollment_Rates.csv")Sponsor_Cohort=dtobj.Value(0)

Record_Keeper=dtobj.Value(1)



Null values are displayed in above defined variables. 



 Please find the attached csv file.

1 Reply

  • Hi,



    See the "Using CSV Files as Data Storages" help topic and follow the recommendations listed there.