Contributions
- 523Views0likes0Comments
Re: Is Excel application installation a need for using of Excel driver?
Hi Robert, Project.Variables.data_file has the address of the csv file. I'm sorry, should be data_file_csv. After changed, the script just hang there when I try to run it... And as I read the document, I need to add a schema.ini file to pair with the csv file? I created that too... Maybe i should just use the file address directly in the script. Michael3KViews0likes6CommentsRe: Is Excel application installation a need for using of Excel driver?
Thanks, Robert. I'm working on csv now. But get error msg "Cannot update, database or object is read-only." here is my code, pretty simple one, do you see any problem.. //code function test_csv(){ DDT.CSVDriver(Project.Variables.data_file); while(!DDT.CurrentDriver.EOF()) // log error point to this line of code var sub_item = DDT.CurrentDriver.Value(0); Log.Message(sub_item); DDT.CurrentDriver.Next() DDT.CloseDriver(DDT.CurrentDriver.Name); } Thanks, Michael3KViews0likes8CommentsIs Excel application installation a need for using of Excel driver?
Hi , I'm trying to do data - driven testing using excel file. I just find out the machine doesn't have office installed. Only thing it has is a excel viewer. So can I still use Excel driver in test complete to work with excel file without Excel installed? I tried but every time ending with "an attempt to work with a closed driver" error. If answer is no, I'll switch to csv file... Thanks, MichaelSolved3.1KViews0likes10Comments