Solved
Forum Discussion
shankar_r
9 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