Report class

Class library usage, coding and language questions.
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Report class

Post by atom » Tue May 03, 2011 9:21 am


Often test results need to be saved to an Access/SQL Server/Oracle database
100's of log files not being easy to see the big picture

To facilitate this is would be really good if the Report class kept some counters like
- # Success entries written
- # Failure entries written
- etc.
So that an Over-All result can be determined
This over-all result being then inserted to a database


User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Report class

Post by Support Team » Tue May 03, 2011 12:37 pm

The easiest way to do such custom reporting is to attach a custom report logger to the Ranorex reporting engine. Inside this custom logger you can sum up the messages with ReportLevel Success and/or Failure and then report the sum to your backing store.

See following blog on how to create a custom report logger:

Ranorex Team