Forum Discussion

tuanvinh1008's avatar
tuanvinh1008
Contributor
3 years ago
Solved

How to get specific row from DDT.CSVDriver

Hi all,

I have the csv data file like this have 10 rows

username,password
def,ids
abc,def
efc,pass
....
....

And I use DDT.CSVDriver to read that file and store it in a variable like this.

var testData = DDT.CSVDriver(path)

And now I have a case that wants to get a specific row in the testData variable. for example, I want to the row 2,6,7, or rows start from 4 to 8. How Testcomplete's methods support?

 

Thanks,

 

5 Replies