Forum Discussion

Steve2's avatar
Steve2
New Contributor
8 years ago

log.SaveResultsAs(path,2) gives error

I use log.SaveResultsAs (path, 2) in order to save the logresults to the local disk (so I can package and e-mail them).

This has worked for years with testcomplete 7 and 9. Since we moved to testcomplete 11 I get the error "Can't save" in the log.

This only seems to happen when the log contans an error or warning.

 

Is this a known issue? Is there any way around it?

1 Reply

  • cunderw's avatar
    cunderw
    Community Hero

    I would be willing to bet that it is because of your file names exceeding the windows 255 character limit as when an error is post, it creating additional files further down your export path.