Forum Discussion
AlexanderM
15 years agoStaff
Hello Tomas,
To make the General Events control available from within a non-GUI application, you can add a new Windows Form to your application, make it invisible and place the General Events control on the form. Does this work for you?
By default, TestComplete saves Test Log results after the test is completed. If you want to save parts of log to a file during test run, specify the "Save log every..." option. It defines a time interval after which the log results should be automatically saved in a file.
If you need to export log results from a script, use the Log.SaveResultsAs method as demonstrated in the "Exporting Results From Tests" paragraph of the Exporting Test Results help topic.
Let me know whether this is what you need.
To make the General Events control available from within a non-GUI application, you can add a new Windows Form to your application, make it invisible and place the General Events control on the form. Does this work for you?
One more thing - I would like to know, how to tell TestComplete to save current log for current test run.
By default, TestComplete saves Test Log results after the test is completed. If you want to save parts of log to a file during test run, specify the "Save log every..." option. It defines a time interval after which the log results should be automatically saved in a file.
If you need to export log results from a script, use the Log.SaveResultsAs method as demonstrated in the "Exporting Results From Tests" paragraph of the Exporting Test Results help topic.
Let me know whether this is what you need.
Related Content
- 10 years ago
- 2 years ago
Recent Discussions
- 19 hours ago
- 5 days ago