Ranorex License - Command options

Ask general questions here.
elis
Posts: 15
Joined: Sun Nov 10, 2013 10:27 am

Ranorex License - Command options

Post by elis » Wed Feb 26, 2014 12:03 pm

Hi,

Is there a way to release Ranorex floating license using CLI command ?
I am trying to automatically release the license when the test finishes running. (as part of Continuous Integration process)


Thanks,
Eli

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

Re: Ranorex License - Command options

Post by odklizec » Wed Feb 26, 2014 1:47 pm

Hi,

As far as I know, there is currently no way to unload/kill the license from code. In a theory, license should be unloaded after finishing the test run. But I personally experienced 5 minutes or so delay between terminating the test/RX Studio and unloading license. So I too vote for the possibility to forcibly kill/unload the license from code.
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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Ranorex License - Command options

Post by Support Team » Fri Feb 28, 2014 4:15 pm

Hi eli & odklizec

Unfortunately it is not possible and also not recommended to relase the license via code.

Since the license will automatically released after a test is executed, it is possible to wait for a valid license in the next testrun,using the "WaitForValidLicense() Method" as described here (http://www.ranorex.com/Documentation/Ra ... ense_1.htm )


Kind regards
Markus (S)
.
Image