Skip to contentBrand Logo
RegisterSign In
  1. SmartBear Community
  2. TestComplete
  3. TestComplete Questions

Forum Discussion

Nimith's avatar
Nimith
Contributor
9 years ago

Capturing Event Logs of the Application being tested

Hi,   Is there a way we can capture the event log of the application being tested?    I want to start capturing the event log of the application when test execution starts, up until the completio...
HKosova's avatar
HKosova
Icon for Alumni rankAlumni
9 years ago

You can use the WMI class Win32_NTEventlogFile.

 

There're some examples here (mostly VBScript):

https://msdn.microsoft.com/en-us/library/aa394593(v=vs.85).aspx
https://community.smartbear.com/t5/TestComplete-Functional-Web/Win-7-Event-Viewer-logs/td-p/64424
https://blogs.technet.microsoft.com/heyscriptingguy/2007/09/07/how-can-i-backup-an-event-log-to-a-text-file/
https://blogs.technet.microsoft.com/heyscriptingguy/2005/01/04/how-can-i-return-only-the-last-record-written-to-an-event-log/

Recent Discussions

  • Send Request Operation - Response Body?

    2 days ago
    rachellawrence
  • Elements detected, clicked in wrong location with Chrome

    3 days ago
    erikgt
  • Latency and Device Disconnect Issues in Test Complete Mobile Testing

    4 days ago
    M_Sai_Sravani
Related Content
  • Mobile testing and capturing traffic

    5 years ago
    Thomas83
  • capturing entire page

    14 years ago
    achand
  • MFC application testing

    5 years ago
    Michal_Ignaczak
© 2025 SmartBear Software. All Rights Reserved.
  • Privacy
  • |
  • Terms of Use
  • |
  • Site Map
  • |
  • Website Terms of Use
  • |
  • Security
  • |
  • Community Terms of Service