Forum Discussion

rra's avatar
rra
New Contributor
14 years ago

Store actions recorded by embedded TestRecoder when crash occurs

Hi,



is there any way to store user actions recorded by TestRecoder if those actions result in crash of application?

It's assuming TestRecoder is integrated into application (C++) that crashes.



Thanks

  • Ruslan,





    TestRecorder does not include exception handling capabilities, so I suggest that you create a small helper app that will record user actions with the application that crashes.


  • rra's avatar
    rra
    New Contributor
    Thank you, Allen.



    Is there a way to store user action in a file immediately, not after stop recording?  Or, may be such method will dramatically slow down the application?



    If I create helper application as you suggest, will this helper app store only user actions concerning my application or it will store any action made by user on a computer?



    Best regards.

  • Ruslan, 





    Unfortunately, there is no way to store user actions immediately. Commands that are recorded later may depend on commands recorded earlier, so they should be saved together in order for TestComplete to be able to import them properly. You can try to save/resume recording at certain time periods, but I'm not sure this is a good solution. Also, if you record with a helper app, this is simply not needed.





    The helper app will record user actions on any application running in the operating system. For instance, if you are working on your tested app and some window (e.g. IM) pops up, it will record your actions on this window too. After importing the recorded tests to TestComplete, you will have to remove these "extra" commands from the test.


  • rra's avatar
    rra
    New Contributor
    Thank you very much, Allen.



    Best regards,

    Ruslan