Report class : Automation API

Report class

Class library usage, coding and language questions.

Report class

Postby atom » Tue May 03, 2011 10: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
atom
 
Posts: 339
Joined: Mon Dec 08, 2008 12:14 am
Location: Dublin, Ireland

Re: Report class

Postby Support Team » Tue May 03, 2011 1: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests