Forum Discussion
shankar_r
7 years agoCommunity Hero
As you are working on TestComplete, it has in-build function where you can the data from Excel by using DDT drivers.
Simple from help Doc:
def CurDriverExample(): # Creates a driver DDT.ExcelDriver("C:\\MyFiles\\MyFile.xls", "Sheet1") # Iterates through records while not DDT.CurrentDriver.EOF(): # Gets a value from the storage and posts it to the log Log.Message(DDT.CurrentDriver.Value[0]) DDT.CurrentDriver.Next() # Closes the driver DDT.CloseDriver(DDT.CurrentDriver.Name)
you can find more information here
Related Content
- 5 years ago
- 2 years ago
Recent Discussions
- 37 minutes ago
- 17 hours ago
Working with Visual Test
Solved2 days ago