Report file name

Ask general questions here.
Posts: 3
Joined: Wed Apr 13, 2016 8:45 pm

Report file name

Post by SyG » Fri Aug 26, 2016 3:54 pm

/zr /zrf: \Report\%X_%R_%S_%Y%M%D_%T.rxzlog

I use this command line to generate a zipped report and here is my problem
what i would like to do is to named my zipped file with the result which is the purpose of the %X
The problem i have is the result is named as success even if i have a failed inside a test case

So, my question is, can we tagged the name of the file with a failed when there is one failed instead of success as it is now

Thank you

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

Re: Report file name

Post by krstcs » Fri Aug 26, 2016 4:51 pm

Without the Ranorex version number it will be almost impossible to help.

Please ALWAYS include the following when raising issues:

Ranorex version number
Windows version
Full text of any error messages (or the full test report, if possible)
A Ranorex Snapshot (NOT a screenshot!) of any problematic elements
The RanoreXPath being used for any problematic elements
The data being used
Full code of any user code being used

This information allows us to help you more efficiently and will allow us to guide you in a proper solution instead of just guessing.

If you can't post any of the above to the forum, you can send it to [email protected] (which will usually get a faster response from the Ranorex team than the forums because they try to let the users, like me, answer first).
Shortcuts usually aren't...

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

Re: Report file name

Post by odklizec » Tue Aug 30, 2016 12:44 pm


There was a known bug in Ranorex 5.4.5 and 5.4.6, where placeholder %X always returned 'Success'. As far as I know, it was fixed in Ranorex 6.0. See this discussion: ... t9036.html
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

Posts: 3
Joined: Wed Apr 13, 2016 8:45 pm

Re: Report file name

Post by SyG » Tue Aug 30, 2016 4:34 pm

Thank you for your reply

As you wrote we were about to upgrade to Ranorex 6.0 and by that time i had a chance to test it.
As you said that was a bug on previous version in Ranorex 6.0 it as been fixed.

Thank you