In general Ranorex provides two different types of licenses to install:
The node locked license type is bound to the machine's host name. After registration each license can be used perpetually on the registered machine. A floating user license can be shared between different machines, but can only be used by one machine (and user) at a time.
If you are going to transfer a license to another machine, have a look at the section Transfer Licenses.
License installation dialog
Installing a Node Locked License
To install a machine-bound Ranorex license select the 'Node-Locked' option. Though the license needs to be activated on the Ranorex server over the internet, it is not necessarily required to have an internet connection available on the target machine.
Installing with Internet Connection
Simply type or paste in the Ranorex license key which has been delivered to you by email and press 'Install'.
Installed license after activation
Installing license without Internet Connection
If there is no internet connection available Ranorex allows to register the target machine using a license activation web site on a computer with an internet connection.
Error Dialog - 'No internet connection available'
The web site address used to authenticate the license key is part of the licensing email delivered after purchasing licenses. Simply open a browser and navigate to the authentication page. Fill in your license key and the machine's host name. After clicking the 'Authenticate' button you'll be able to download the license file. Load the downloaded file within the Ranorex licensing tool in order to finish the license installation process on the target machine.
License authentication using Ranorex web site
Installing a Floating License
Installing and configuring the Ranorex License Manager
In order to use a Ranorex Floating License it is required to install and run the Ranorex license manager application on a computer within a network. The download link for the license manager setup package is part of the license delivery email. Simply install the package on a system which is reachable from computers which intend to use a Ranorex floating license.
Note To prevent firewalls from blocking communication between license manager and client, it is required to open port 7266 for TCP and UDP access on the machine running the license manager.
Note By installing a Ranorex license manager it's required to use a Ranorex license manager installation package at least as current as your Ranorex client installation.
Note The Ranorex license manager can be used in IPv4, IPv6 and mixed networks.
License manager dialog - one premium licenses in use
Open the Ranorex license manager configuration tool. Add the floating license keys to the text box and press 'Install'. These licenses are now ready to use.
To get more information about the clients leasing a license you can select the specific license in license manager configuration tool and open the 'Clients' tab.
Using the 'Save Log' button allows you to export all actions processed by the license manager as CSV- or XML-file for further processing.
Note It is recommended to have an internet connection available in order to install a new license.
No internet connection available - license needs to be registered on a computer with internet connection
If there is no internet connection available, authenticate the floating license using the license authentication web site. The web site address used to authenticate the license key is part of the licensing email delivered after purchasing licenses. Simply open a browser and navigate to the authentication page. Fill in your license key and the machine's host name. After clicking the 'Authenticate' button you'll be able to download the license file. Load the downloaded file within the Ranorex licensing tool in order to finish the license installation process on the target machine.
Configuring Developer and Runtime Clients
In order to use an installed floating license, open the Ranorex license tool on the client and select the option 'Floating'.
Using license manager for automatically requesting an appropriate license
Press the button 'Detect' to request a list of the currently available license managers within the local network.
The license type specifies which license (Runtime, Premium) should be used on the client. By selecting 'Auto', the client automatically requests the appropriate license. In case of running Ranorex tests via the standalone test suite runner or from command line, only a Runtime floating license will be used. When starting Ranorex Spy tool a Premium floating license will be leased on the manager. After pressing the 'Install' button the client is assigned to the selected license type. To switch the currently installed license type, simply select another one from the list and click 'Install' again.
Every time a Ranorex test, a Ranorex tool, or Ranorex Studio is started the client sends a license request to the manager. If the type of the required license is available, it will be assigned to the requesting client. By being idle, closing Ranorex Studio or finishing a test run the license will be automatically released and can then be used by other clients.
For this reason a reliable network environment is required when working with floating licenses.
Note If a floating license has not been released correctly (based on a network problem for example), it will be locked for a time-out of 5 minutes.
In order to uninstall a floating license right-click the license you are going to uninstall and choose "Uninstall License(s)" from the context menu in the Ranorex license manager tool.
Uninstall floating license
Uninstall node-locked license
In order to transfer a license, you have to uninstall the license from the machine you want to transfer it from as described in the section above. After that, the license will be available for installation on a different machine.
Note Node-locked licenses can only be transferred once every 90 days.