How include Ranorex version In reports

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 21
Joined: Wed Nov 04, 2015 11:12 am

How include Ranorex version In reports

Post by Danscorpio13 » Wed Dec 08, 2021 12:18 pm


Sorry if this question has been answered already, but I would appreciate if someone could direct to the right place or advise on how to include Ranorex version number in reports.

Kind Regards

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

Re: How include Ranorex version In reports

Post by odklizec » Wed Dec 08, 2021 1:47 pm


You can get Ranorex version using this code:

Code: Select all

string rxVer = Host.Local.RanorexVersion;
As for adding custom data to Report, you will have to modify report template, as shown here: ... omizeddata
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