Editable Report

Ranorex Spy, Recorder, and Studio.
skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Editable Report

Post by skhanpara » Wed Apr 30, 2014 3:54 pm

is there any way i can create a report that in text format?
Or any other file which is editable?

Renorex report has all the steps
I want to copy that step in a file which is editable

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Editable Report

Post by krstcs » Wed Apr 30, 2014 5:17 pm

The Ranorex report file (.rxlog) is an HTML file and can be edited with any text editor.

The Ranorex report DATA file (.rxlog.data) is an XML file and can be edited with any text editor.


Why do you need to edit the report by hand?

If you just want to add extra data, you can use the Report.Log() method in user-code, or the "Report" action in the recording module (.rxrec) action table.

If you are changing the data, I would recommend extreme caution. You really should not edit the data unless absolutely necessary since the report is supposed to be an accurate record of what happened in the test run. You could end up changing something the causes the report to no longer open or, worse, to be invalid and untruthful as a record of events.
Shortcuts usually aren't...

skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Re: Editable Report

Post by skhanpara » Wed Apr 30, 2014 6:28 pm

It what the company needs, to view it in a proper format
And add Pass/Fail column to it.

Is there anyway i can make the report in more user readable format and add some extra columns to it

Thank you

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

Re: Editable Report

Post by Support Team » Fri May 02, 2014 3:44 pm

Hi skhanpara,

It is not recommended to edit the rxlog and rxlog.data files as krstcs already mentioned.
If you want to add some extra information to your report you can use a custom Report template.
Please have a look at the “Reporting” section in our User Guide to see how to create your own report template.

Regards,
Markus (S)
.
Image

skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Re: Editable Report

Post by skhanpara » Mon May 05, 2014 3:18 pm

Thanks Markus

skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Re: Editable Report

Post by skhanpara » Mon May 05, 2014 4:44 pm

i am able to edit the New Custom Template but how can i link it to my test Run

NewCustome Template View.rxlog shows all the changes

But when i run my test it displays default Report

I want to add a extra field called Pass/fail
and

total number of test executed

Thank You

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

Re: Editable Report

Post by Support Team » Tue May 06, 2014 3:00 pm

Hi Skhanpara,

May I ask you which version of Ranorex is installed on your machine?

Please note:
In Ranorex 4.x the customized report is only shown when the whole test suite is executed.
Please use one of the highlighted buttons in order to run the whole test suite.
RunTest.jpg
RunTest.jpg (71.33 KiB) Viewed 890 times
Regards,
Markus (S)
.
Image

skhanpara
Posts: 94
Joined: Wed Apr 23, 2014 3:55 pm

Re: Editable Report

Post by skhanpara » Tue May 06, 2014 6:29 pm

Ranorex 5.0.2


Thanks Markus

i have attached the error i am getting now

i am apple to open my custom report manually from the folder

but after the run its shows me this error
Attachments
Capture.PNG
Capture.PNG (26.47 KiB) Viewed 882 times

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

Re: Editable Report

Post by Support Team » Fri May 09, 2014 2:52 pm

Hi Skhanpara,

Thank you for the response.

May I ask you to send us your solution, or a sample solution and the custom report template
in which this error appears?

This will help us to analyze the problem on our machine.
Thank you in advance.

Kind regards,

Markus(S)
.
Image