Report class

Class library usage, coding and language questions.
atom
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

Hiya

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

Cheers

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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:
http://www.ranorex.com/blog/customizing-ranorex-reports

Regards,
Alex
Ranorex Team
.
Image