Forum Discussion

james_massa's avatar
james_massa
Occasional Contributor
13 years ago

WriteLine error: File too large?

We have found recently that our test scripts will crash with a JScript runtime error of "Failed to open the file. Possible reason: the file is too large." when writting a custom logfile via the WriteLine method.



At the time of the crash the file has an overall length of 616,223 and 9,849 lines.



Is there a maximum file size associated with aqTextFile?



If so, is there some other method or strategy I can use?



1 Reply


  • Hi James,


     


    Our R&D team should investigate this behavior. Please follow the steps below to help them with this:


     


    1. Run the Report Generator tool located in <TestComplete>\Bin\ReportGenerator.exe.


     


    2. Select the "Launch/attach to TestComplete" option.


     


    3. Reproduce the problem.


     


    4. Click the "Generate..." button in the Report Generator tool and save the report to a local folder.


     


    5. Send the report to our Support team.


     


    Thanks!