Forum Discussion
Hi Jchapman,
As far as I remember, it’s impossible to get this information when working with TestComplete via COM.
However, you can get the list of all consumed licenses on this page. Perhaps, you can create a Python script that will send an HTTP request to this page, get the response and pass it in a way you need.
- jchapman9 years agoOccasional Contributor
Thanks for your reply,
It seems like I need to navigate to Features>Test Execute 11 to find the information I'm looking for. The URL that has this information has three id's: haspid, vendorid, and productid. Do you know if these will differ for users on the same network? Also are any of these unique to our installation/liscense server?
If this works I'll post a code snipit.
Thanks,
Jordan
- jchapman9 years agoOccasional Contributor
It also appears that the local webpage doesn't update until you try to run TestExecute. If someone else had the liscense it may say that there is a liscense availabe until you try and run TestExecute.
What I can do is go to the liscense server's web interface, that staus seems to update much quicker. However I'm now running into the issue that the table is populated via javascript, so I need to get the contets of the page after javascript has populated the table.
Related Content
- 12 years agokirk_bottomley