Forum Discussion
Hi Ondar,
Don't you think that your TC version is not a little bit out-to-date ?
Mehdi
Only reason left is that you code or test breaks out before reaching your line...
or you're trying to right in a directory you do not have rights to write...
- Ondar10 years agoNew Contributor
Debug mode prooves that it reaches the line. And log entries are written after that call, which are accessible through TestComplete. And I have write access for the destination directory. TestComplete writes files there, but the export is incomplete (e.g. missing the index.htm).
- rrivest10 years agoContributor
Just tried the command using the following syntax and it worked perfectly....
(I used C#)
Log["SaveResultAs"]("C:\\TEMP\\test\\",1,true,0) where the subfolder "test" did not exist, and all exported correctly..
index.htm was created.
my guess is that you lack the trailing "\"