e_lock
12 years agoOccasional Contributor
Refreshing datasource
Hi all, I have a test which I am trying to make work which runs through a number of iterations. On each iteration I wish to use a different datasource. I do this by replacing the spreadsheet with a different one of the same name in the same location. The only problem is that TestComplete seems to be retaining a handle on the original spreadsheet which is preventing me from deleting it. I am trying to call the script using jscript. The first iteration (where we don't yet have a handle to the spreadsheet) works fine, second iteration fails. The error messsaage is "Permission denied" Any ideas? Thanks in advance, Ellie (apologies for the poor formatting, this field isn't recognising my return key).