Forum Discussion
1 Reply
Sort By
- shankar_rCommunity 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
- 2 days ago