Retrieve Ranorex Version

Ask general questions here.
hans.dominic
Posts: 12
Joined: Fri Mar 18, 2016 3:06 pm
Location: Norway

Retrieve Ranorex Version

Post by hans.dominic » Mon May 14, 2018 9:10 am

Hi,

Does anybody know how to retrieve the version of Ranorex using User Code? Thanks.

-- Hans

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

Re: Retrieve Ranorex Version

Post by odklizec » Mon May 14, 2018 9:57 am

Hi,

This code should help:

Code: Select all

string rxVersion = Ranorex.Host.Local.RanorexVersion;
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

hans.dominic
Posts: 12
Joined: Fri Mar 18, 2016 3:06 pm
Location: Norway

Re: Retrieve Ranorex Version

Post by hans.dominic » Mon May 14, 2018 10:03 am

Hi,

Big THANKS to you... This is what I am looking for.

--Hans

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

Re: Retrieve Ranorex Version

Post by odklizec » Mon May 14, 2018 10:10 am

You are welcome ;) You can find other Ranorex API methods and properties described here:
https://www.ranorex.com/Documentation/Ranorex/
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