Automated test-execution - AppVeyor CI

Ask general questions here.
Morten
Posts: 2
Joined: Fri Apr 13, 2018 12:54 pm

Automated test-execution - AppVeyor CI

Post by Morten » Fri Apr 13, 2018 1:12 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Automated test-execution - AppVeyor CI

Post by Support Team » Fri Apr 13, 2018 6:03 pm

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
.
Image

Morten
Posts: 2
Joined: Fri Apr 13, 2018 12:54 pm

Re: Automated test-execution - AppVeyor CI

Post by Morten » Mon Apr 23, 2018 10:08 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Automated test-execution - AppVeyor CI

Post by Support Team » Tue Apr 24, 2018 9:00 pm

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
.
Image