Micro Focus QTP (UFT) Forums
How to capture objects of Event Viewer ? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to capture objects of Event Viewer ? (/Thread-How-to-capture-objects-of-Event-Viewer)



How to capture objects of Event Viewer ? - Vishnu Narayan - 05-26-2015

Hi Team ,

May i know how to capture objects of Event Viewer ?
It's possible to identify objects but i need to identify the child nodes in a tree view .

Event Viewer -> Windows Logs -> Apllications

It is possible to identify the whole column while i need to capture
'Windows Logs' and then to 'Applications ' where Windows Logs and Applications are child nodes of tree view 'Event Viewer'


Please help me out.


RE: How to capture objects of Event Viewer ? - venkatesh9032 - 06-11-2015

Event viewer is ntg but if u want to handle objects using keyword the event type is 1 and for mouse the event type is 2

Code:
Syntax
Setting.WebPackage("ReplayType") = 2  '--event type mouse
Setting.WebPackage("ReplayType") = 1  '--event type keyboard

\\by default it will be 1 ntg but keyboard