Hi,
Would it be possible to extend the WaitForValidLicense method with a parameter, which would make the Ranorex to wait/ignore a specific license or licenses (e.g. limit the license use just to Runtime and Professional and ignore Premium)?
Use case:
Currently, we are using one floating Runtime and one floating Premium. Our test scripts use WaitForValidLicense to wait for an available license. If both Runtime and Premium is in use, test runner waits for first available license to start the scheduled/queued test. Now let's say I close the Ranorex Studio, test runner takes just released Premium license and use it for running test, which actually locks me from using Studio, until the test is finished. Therefore, it would be useful to be able to limit the license use from the test code.
In a near future, we are most probably going to buy some more Runtime and also Pro/Premium licenses. But I would still like to prevent the test runner to use the Premium licenses and allow to use just Runtime and Pro for running the tests.
Thanks for the consideration!
FEATURE REQUEST: WaitForValidLicense extension
FEATURE REQUEST: WaitForValidLicense extension
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: FEATURE REQUEST: WaitForValidLicense extension
+1
This is an excellent point.
This is an excellent point.
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: FEATURE REQUEST: WaitForValidLicense extension
This feature already kind of exists, even if not from code:
Just change the floating license type configured on the runtime machine to "Runtime" (instead of "Auto") using the Ranorex Licensing Tool (see this section in the user guide). Then only Runtime licenses will be acquired.
Regards,
Alex
Ranorex Team
Just change the floating license type configured on the runtime machine to "Runtime" (instead of "Auto") using the Ranorex Licensing Tool (see this section in the user guide). Then only Runtime licenses will be acquired.
Regards,
Alex
Ranorex Team
Re: FEATURE REQUEST: WaitForValidLicense extension
Thanks for the tip Alex! It could be a perfect solution of my problem
I will keep you informed.

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: FEATURE REQUEST: WaitForValidLicense extension
Ahh!! Learn something new every day...
Thanks Alex!
Thanks Alex!
Shortcuts usually aren't...