Hi,
There are some problems with licensing.
I use ranorex integrated with VS2010. When I play tests from VS, I see (in license server tool) that 1 license is leased. But when tests are ending license doesn't released.
Close solution doesn't help to released license.
I have Floating Premium license.
Doesn't release license after playing tests in Visual Studio
Doesn't release license after playing tests in Visual Studio
Last edited by valentin on Thu Jul 19, 2012 1:59 pm, edited 1 time in total.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Doesn't release license after playing tests in Visual Studio
Hi,
Which Ranorex/Ranorex license server version are you using?
Did you get an error/exception or did you manually kill the process?
Regards,
Markus
Ranorex Support Team
Which Ranorex/Ranorex license server version are you using?
Did you get an error/exception or did you manually kill the process?
Regards,
Markus
Ranorex Support Team
Re: Doesn't release license after playing tests in Visual Studio
1) I'm using Ranorex Studio and License server version 3.3
2) manually kill the process. Closing VS solve problem.
2) manually kill the process. Closing VS solve problem.
Last edited by valentin on Fri Jul 20, 2012 6:06 am, edited 1 time in total.
Re: Doesn't release license after playing tests in Visual Studio
The same problem when play test from MTM (microsoft test manager). I play test from MTM with Desctop Client Environment.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Doesn't release license after playing tests in Visual Studio
Hi,
as long as a Ranorex process is being executed your floating Ranorex license will not be released.
So, once all Ranorex assemblies are unloaded, the license will be released.
So basically this should not be an issue as long as you do not have a process which always has Ranorex loaded.
Regards
Tobias
Ranorex Team
as long as a Ranorex process is being executed your floating Ranorex license will not be released.
So, once all Ranorex assemblies are unloaded, the license will be released.
So basically this should not be an issue as long as you do not have a process which always has Ranorex loaded.
Regards
Tobias
Ranorex Team
Re: Doesn't release license after playing tests in Visual Studio
But, if use MTM (with Test Agent and Test Controller) for run tests QTAgent.exe process doesn't unload Ranorex assemblies after execution. Therefore after each execuition, I need every time stop service QTAgentProcessUI and then restart it. Is there a way to solve this problem?
The same if use Visual Studio. Process devenv.exe doesn't unload assemblies after build. Only kill process solve problem.
The same if use Visual Studio. Process devenv.exe doesn't unload assemblies after build. Only kill process solve problem.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Doesn't release license after playing tests in Visual Studio
Hi,
we were able to reproduce this issue and are going to analyze it in detail.
We will inform you about our progress.
Regards,
Tobias
Ranorex Team
we were able to reproduce this issue and are going to analyze it in detail.
We will inform you about our progress.
Regards,
Tobias
Ranorex Team
Re: Doesn't release license after playing tests in Visual Studio
For my self I solved this problem by execute bat script after test
tasklist | findstr QTAgent32.exe
if "%errorlevel%" == "0" (taskkill /f /im QTAgent32.exe)
tasklist | findstr QTAgent32.exe
if "%errorlevel%" == "0" (taskkill /f /im QTAgent32.exe)
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Doesn't release license after playing tests in Visual Studio
Hi,
basically the mentioned problem should be fixed with our next release v3.3.2 which will be available for download soon.
Regards,
Tobias
Ranorex Team
basically the mentioned problem should be fixed with our next release v3.3.2 which will be available for download soon.
Regards,
Tobias
Ranorex Team