Forum Discussion

Oferv's avatar
Oferv
Super Contributor
14 years ago

TC is unable to produce a log

Hi,



It's not the first time i experience this problem,TC after a over night run just unable to produce the run's log file.once i thought it's because a lack of memory but now i can see i have 4.6GB free left i can understand it has nothing to do with memory lack.

The script start running and everything looks fine but when i come back to the office the day after it hang with exception error and when i approve it there's a log file created name "Unspecified  + DATE and TIME" when trying to load this file and error message display(see attached file).

why is that happening?what's the reason and how can i solve it.i just tried to run it for 100 loops.should be baiscs of automation tool to run long time tests.



pls help me solve this problem.



thanks

2 Replies

  • Oferv's avatar
    Oferv
    Super Contributor
    Anyone?



    it happen again this morning,when clicking the stop running button TC says preparing log file but usually it stuck and unable to finish the log creation.from the last 2 month i was unable to view the overnight log file.i can't see how the run went through and can't understand where do i go wrong.

    MUST solve that one.it's essential 



    thanks
  • Hi there,



    Most probably, the exception you mentioned causes the problem or is a consequence of another exception. So, we need to get more details about the exception in the standard way:



    1. Download AQtime Standard, which is our free profiling tool, from our web site:

    http://downloads.automatedqa.com/AQtimeStdx86.exe



    2. Install the tool.



    3. Start AQtime with the -NotOpenApp command-line argument. For example, you can use the following command line:

    "c:\Program Files\SmartBear\AQtime 7\Bin\AQtime.exe" -NotOpenApp



    4. Select the 'File | Open...' main menu item.



    5. In the Open File dialog, select the TestComplete.exe file and click Open.



    6. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.



    7. Select the "Options | Options..." main menu command - the Options dialog will appear.



    8. Enable the "Profiling Time | Event View | Debug Events | Generate dump on exception" option and specify a dump folder.



    9. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.



    10. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.



    11. AQtime will start TestComplete and generate dump files for all exceptions that will occur in the application until it is closed.



    12. Reproduce the problem using TestComplete.



    13. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.



    14. Save the panel's contents to an HTML file and send me the file along with all of the generated dump files.



    Thanks in advance.