vladm
13 years agoOccasional Contributor
CSV Driver doesn't see columns of csv file
Hi All, help me please to find the reason of such problem:
Dashboard_drv = DDT.CSVDriver("C:\\Documents and Settings\\Administrator\\Desktop\\FILES AFTER UPLOAD to COMPARE\\Dashboard.csv");
var Col_Num = Dashboard_drv.ColumnCount;
var Col_Name, i;
Log.Message(Col_Num);
for ( i=0; i < Col_Num; i++ )
{
Col_Name = Dashboard_drv.ColumnName(i);
Log.Message(Col_Name);
}
After executing this code CSV driver said that
Col_Num = 1 but file contains 23 columns.
Any ideas?
Interesting fact: This code worked successfully on physical machine but after moving my Test Complete to virtual machine i got such problem.
Maybe some differences in Regional and language options???
Thanks.