I wish to read Event viewer logs for my application and print in on ranorex report.
Can someone please tell me? Is it possible to read these logs using Ranorex?
Read Event Viewer Log
-
- Posts: 37
- Joined: Thu Aug 22, 2019 4:14 pm
Read Event Viewer Log
- Attachments
-
- event log.PNG (41.14 KiB) Viewed 271 times
Re: Read Event Viewer Log
Hi,
Could you please elaborate, what exactly you want to read?
Event Viewer elements appear to be traceable with Ranorex Spy, so there should be no problem to obtain data form it. You can read individual elements with Get Value recording action. But if you want to read entire list of event entries, you will have to use code. Unfortunately, without more details about your test case, it's impossible to suggest something reliable.
Could you please elaborate, what exactly you want to read?
Event Viewer elements appear to be traceable with Ranorex Spy, so there should be no problem to obtain data form it. You can read individual elements with Get Value recording action. But if you want to read entire list of event entries, you will have to use code. Unfortunately, without more details about your test case, it's impossible to suggest something reliable.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration