Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Rajender,
TestComplete does not have a built-in ability to export results to a database, and we do not have a sample script demonstrating how to do this. I have registered a suggestion in our database. If you need this feature, I think that you can try to create a script that will pass results to a database. To read results of the current test execution, you can export them to external files and parse these files. Please see the Log.SaveResultsAs help topic.
Another possibility is to make use of the 'OnLog*' event handlers. Every time a message is posted to the log, the corresponding handler is invoked, and you can write data to a database from this handler. Please see the About Events and Event Handling and OnLogMessage Event help topics.
Related Content
Recent Discussions
- 2 hours agoSubhraDas
- 21 hours agotramuntana