Page 1 of 1

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

Posted: Mon May 30, 2016 10:15 am
by odklizec
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?

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

Posted: Thu Jun 02, 2016 2:58 pm
by Support Team
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

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

Posted: Thu Jun 02, 2016 3:30 pm
by odklizec
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 ;)

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

Posted: Thu Jun 02, 2016 4:25 pm
by krstcs
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.

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

Posted: Fri Jun 03, 2016 1:43 pm
by Support Team
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

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

Posted: Fri Jun 03, 2016 1:59 pm
by odklizec
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.