Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Bug reports.
User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by odklizec » Mon May 30, 2016 10:15 am

Hi,

It seems the command line /zr /zrf: ignores user-specified report extension (e.g. "zip") and always saves report as default 'rxzlog'.

For example, this command line, should produce a report file, with test status in file name and 'zip' extension, but it always saves as 'rxzlog'...
rx6_test.exe /zr /zrf:c:\temp\Reports\RXReport_test_%X.zip
I believe it worked before?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by Support Team » Thu Jun 02, 2016 2:58 pm

Hi Pavel,

I have tried your intention with several previous versions of Ranorex and they all save the report as *.rxzlog.
Since the .rxzlog file is a zipped archive, you can simply extract it with your data compression program.

If you want to apply for a feature request, please send us an email in order we can handle this.

Kind regards,
Matthias

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by odklizec » Thu Jun 02, 2016 3:30 pm

Hi Matthias,

Yes, I know rxzlog is basically a zip file. But as far as I remember it, if there was specified 'zip' file extension in Ranorex 5.x (within /zr /zrf: command line), Ranorex automatically saved report file as reportname.zip instead of reportname.rxzlog. I'm no longer using 5.x on any of my machines, but I'm quite sure it worked that way in the past? So basically, what I'm reporting is not a feature request, but rather a bug report ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

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

Re: Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by krstcs » Thu Jun 02, 2016 4:25 pm

As Matthias said, this functionality is not in 5.4.6. I just tried the following and it still gives the filename a *.rxzlog name, so it has been this way for a while (if not always).

Code: Select all

MyTest.exe /zr /zrf:Report.zip

However, I would agree with Pavel that this is a bug. The expectation is that the /zrf switch should use any file extension given and not force '*.rxzlog'. If I tell the system to rename a file and give it an extension, it should not name it something else. This is not a feature request issue as it is commonly expected behavior that is not working as it does in other places. Specifically, renaming the log file itself uses the extension given, and doesn't force '*.rxlog'. Renaming the zipped report should work the same way.
Shortcuts usually aren't...

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

Re: Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by Support Team » Fri Jun 03, 2016 1:43 pm

Hi all,

I already added it to our internal bug-tracking system.

Currently, we do not know if and when this bug will be fixed. This depends on various factors. Nevertheless, all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex.

Thank you for your understanding.

Sincerely,
Matthias

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex 6.0 - /zr /zrf: ignores user-specified extension

Post by odklizec » Fri Jun 03, 2016 1:59 pm

Thanks Matthias! It's not a pressing issue ;) I can always rename the extension from code. But it would be nice to have it fixed anytime in future.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration