Hi Ranorex Support.
We are starting to build our test-cases with AppVeyor CI - But we would also like to auto-execute them in our cloud-based CI solution.
Hence AppVeyor CI is non-persistant VM , for this to work we need to:
- Install a Ranorex Floating license entirely by command-line/.lic file - No GUI steps for the installation.
- Support move/de-install/install of x floating license across multiple virtual workstation/servers spawned.
Please let us know, how we can achieve this with Ranorex.
Thanks in advance.
/Morten
Automated test-execution - AppVeyor CI
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Automated test-execution - AppVeyor CI
Hi Morten,
The floating license itself needs to be installed in a Ranorex License Manager on a machine which is accessible from the AppVeyor virtual workstation/servers. For each new virtual workstation, you can silently install Ranorex and copy the floating license configuration file (Ranorex3_Server.lic) to the workstation's %ALLUSERSPROFILE% directory. To get the initial floating license configuration file, copy it from a machine that was manually configured to use a license from the License Manager. This section of our user guide expands on this topic.
I hope this helps!
Cheers,
Ned
The floating license itself needs to be installed in a Ranorex License Manager on a machine which is accessible from the AppVeyor virtual workstation/servers. For each new virtual workstation, you can silently install Ranorex and copy the floating license configuration file (Ranorex3_Server.lic) to the workstation's %ALLUSERSPROFILE% directory. To get the initial floating license configuration file, copy it from a machine that was manually configured to use a license from the License Manager. This section of our user guide expands on this topic.
I hope this helps!
Cheers,
Ned
Re: Automated test-execution - AppVeyor CI
Hi Ned.
Thanks for your support - So the Ranorex3_Server.lic file placed in repo containing a valid license copied into %ALLUSERSPROFILE% on a Virtual machine, should remove the license key popup and just run the license check silently.
Is there any action needed/recommended to un-link the floating license from the license manager prior to decommissioning the virtual machine? - Just to ensure that the next build on a VM is not being blocked by the previous session? - If no action needed, when does the active usage timeout(if the machine should die).
Another question
Do you know what application protocol is being used between the client and server on port 7266? Our Network/firewall would like to know for opening up for inbound/outbound traffic accross our network.
Thanks again
/Morten
Thanks for your support - So the Ranorex3_Server.lic file placed in repo containing a valid license copied into %ALLUSERSPROFILE% on a Virtual machine, should remove the license key popup and just run the license check silently.
Is there any action needed/recommended to un-link the floating license from the license manager prior to decommissioning the virtual machine? - Just to ensure that the next build on a VM is not being blocked by the previous session? - If no action needed, when does the active usage timeout(if the machine should die).
Another question
Do you know what application protocol is being used between the client and server on port 7266? Our Network/firewall would like to know for opening up for inbound/outbound traffic accross our network.
Thanks again
/Morten
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Automated test-execution - AppVeyor CI
Hi Morten,
After placing the Ranorex3_Server.lic in %ALLUSERSPROFILE%, the license configuration window should not appear as long as there is a valid license available in the configured Ranorex License Manager for the machine to use.
Regarding your question on decommissioning a machine with Ranorex licenses, it is required to first uninstall any licenses so that you can install them on a new machine. If a machine is decommissioned without uninstalling the license, you will need to contact support to remove the license authentication manually (a lengthier process than uninstalling it before it is decommissioned).
Regarding the protocol used for the Ranorex License Manager, it uses UDP & TCP port 7266.
I hope this answers your questions!
Regards,
Ned
After placing the Ranorex3_Server.lic in %ALLUSERSPROFILE%, the license configuration window should not appear as long as there is a valid license available in the configured Ranorex License Manager for the machine to use.
Regarding your question on decommissioning a machine with Ranorex licenses, it is required to first uninstall any licenses so that you can install them on a new machine. If a machine is decommissioned without uninstalling the license, you will need to contact support to remove the license authentication manually (a lengthier process than uninstalling it before it is decommissioned).
Regarding the protocol used for the Ranorex License Manager, it uses UDP & TCP port 7266.
I hope this answers your questions!
Regards,
Ned