Page 1 of 1

Adding Coloums to Ranorex Reports

Posted: Tue May 13, 2014 2:50 pm
by Deepak_Singh
Hi All,

I was wondering if we could add the "Expected Result and Actual Result" coloumn in Ranorex Reports.
If Yes then a lot of work will be Saved in Automation.

Is there a way to do it? :roll:

If yes then how to use it? :?:

If anyone has done it then Please post the example here.

Regards,
Deepak :)

Re: Adding Coloums to Ranorex Reports

Posted: Tue May 13, 2014 3:39 pm
by krstcs
The report already includes the expected and actual results.

In each failure the report will show what it expected and what it actually found.

For example, if you are validating that an object exists and it doesn't, it will say something like "Element for item <item> does not Exist. Failed to find object "<object xpath>" within 30s."

If you are validating an object's attribute, is would say something like "Module execution was aborted because a validation step has failed. Attribute 'Text' of element for item '<repo object name>' does not match the specified RegEx (actual='about:blank', regex='<expected regex value>')."

If you read the report carefully, most of the time it will tell you exactly what happened (or didn't happen).

Re: Adding Coloums to Ranorex Reports

Posted: Wed May 14, 2014 1:12 pm
by Deepak_Singh
No I Think only these 4 Categories "Time Level Category Message " are Present.
I want to Add them here(Expected and Actual).

nd where is the one which you are saying?
Could u provide a snapshot?

Regards,
Deepak

Re: Adding Coloums to Ranorex Reports

Posted: Wed May 14, 2014 2:15 pm
by krstcs
The information is contained in the Message column. That is the point of the Message column, to give you the message that Ranorex produced, such as Actual/Expected values.

Re: Adding Coloums to Ranorex Reports

Posted: Thu May 15, 2014 6:50 am
by Deepak_Singh
So Isnt there a way to Add Extra Coloumns?

Support Team Can you Help?

Regards,
Deepak

Re: Adding Coloums to Ranorex Reports

Posted: Thu May 15, 2014 7:35 am
by odklizec
The only way how to modify Ranorex report is to create and use new report template, as described here:
http://www.ranorex.com/support/user-gui ... html#c4898

I think it should be possible to add new column (or columns) by editing RanorexReport5.xsl and css file. In xsl file, you can find how the existing columns are created, so you can create a new one accordingly. But I see no way how to fill these extra columns with custom data? I mean using built-in report methods. However, I'm not using custom templates, so I may miss something important ;)

Re: Adding Coloums to Ranorex Reports

Posted: Thu May 15, 2014 11:26 am
by Deepak_Singh
Exactly I am Facing the Same Problem here :wink:
I was able to add the Coloumns but the Same problem has occured that how the Extra Steps to be written in those cooumns? :roll:


Can anybody helppppp????


Regards,
Deepak

Re: Adding Coloums to Ranorex Reports

Posted: Mon May 19, 2014 2:38 pm
by Support Team
Hello Deepak_Singh,

Unfortunately we cannot provide you a solution for your issue using our custom methods. In order to add data to your custom report you need to implement your own reporting mechanism since the Ranorex Report is limited to those specified columns.

Thank you for your understanding.

Regards,
Robert