Forum Discussion
shankar_r
8 years agoCommunity Hero
Instead of using Array, I would go with Project Variable table type or you can directly using DDT.
Driver = DDT.ExcelDriver("C:\\MyFile.xls", "Sheet1"); cno_TCName = 0 cno_RunFlag = 1 // Iterates through records RecNo = 0; while (! Driver.EOF() ) { if(Driver.Value(cno_RunFlag) == "Y") { //Execute your code } Driver.Next(); // Goes to the next record }
For more details: https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/drivers.html
Related Content
Recent Discussions
- 4 days ago
- 4 days ago