Everything you need to know about UFT(QTP) License

Updated On Aug 7, 2014 by

We receive a lot of questions on QTP blog and forums regarding UFT(QTP) licensing and related issues. This post will serve as a guide to know all about UFT(QTP) license.

Your Guide to UFT license

Types of UFT(QTP) license

There are two main types of UFT licenses –

  1. Seat License: This license is tied to the computer on which it is installed. The trial or a demo license of UFT is a seat license which has a validity of 30 days. You don’t require any keys for the trial license.
  2. Concurrent License: This is also known as floating license. This license type requires a concurrent license server to be installed in your office/local network. With concurrent license, a pool of licenses are assigned to the concurrent license server. Anybody in a local network can connect to this pool as long as at least a single license is available. For example – Let’s say your company has purchased 50 concurrent licenses of UFT. All these 50 licenses would be assigned to the license server. Now at any point of time, maximum 50 people in the local network of your company can work on UFT.
    1. Commuter License: This can be said as a special type of concurrent license which can be used when you don’t have access to the license server. In this case, you checkout a license from the concurrent license server for ‘n’ days where n <= 180. A use case for concurrent license can be – say you need to travel on work where you can’t connect to your company’s concurrent license server. In that case, you can check out a license from the server before you leave, go about your work and check-in back the license to the pool. The duration during which the licensed is checked out, it will behave like a seat license on your machine and the number of licenses on the license server will be reduced by one.
    2. Remote Commuter License: This is used when you want a license for a particular machine (say John’s machine) but John’s machine is not able to connect to the license server for checkout purposes. In that case, you would take help of a machine(say Mike’s machine) which IS able to connect to the license server and checkout a license for John’s machine. A detailed illustration is given later in this article.

Locking Code

This is a unique identification code for the machine on which UFT is installed. It is required when you want to install a seat license on your machine. Locking code can be obtained by running the UFT license installation wizard > Selecting ‘Seat license’ > Locking code. Once you get the Locking code, your company rep. should contact HP at this link and request for license keys for your machine.
Check the illustration below to get your machine’s Locking Code.

UFT locking code


While the concurrent license installation wizard in UFT can be used to specify the license server, you can also make use of Windows environment variables to search and connect your UFT windows client with concurrent license servers.

Windows environment variables are available under System properties dialog box > Advanced tab > Environment variables button. The shortcut to access System properties is Windows key + Pause/Break key.

LSHOST can be used to set a preferred concurrent license server (so you can set multiple license servers separated with a semicolon in the User Variables list), while LSFORCEHOST can be used to force or restrict your UFT client to a particular license server. The Variable value box can take IP address or the host name. Please note that the environment variable values are restricted to 64 characters.


How to check-out and check-in a commuter license?

You can checkout a commuter license for your offline use from the concurrent license server, using a utility called WCommute.exe located under C:\Program Files\HP\Unified Functional Testing\bin. A license can be checked-out for a max duration of 180 days, post which it will automatically be returned to the license pool. If you wish to check-in the license during 180 days, you can make use of the same utility WCommute.exe.

How to check-out and check-in a remote commuter license?

There are a few steps you need to follow to check out a remote commuter license.

Going by the example of John and Mike mentioned above, where John is at a machine which can’t interact with server whereas Mike at a machine which can interact with a server here are the steps with an illustration.

  1. John will use WRCommute.exe utility present under C:\Program Files\HP\Unified Functional Testing\bin to send his machine’s locking code to Mike.
  2. Mike will use WCommute.exe and John’s locking code to generate a remote commuter authorization which is saved to a file and is sent to John.
  3. John again uses WRCommute.exe and the file sent by Mike to install the remote commuter license on his machine.

Please make sure that WCommute.exe and WRCommute.exe used in the process above are of same version.

Illustration: Checkout Remote commuter license

How to manage concurrent license servers?

A utility known as WLMAdmin.exe can be used to add, manage or monitor concurrent licenses in a concurrent license server. This utility can be found in your UFT installation disk or a UFT dump file downloaded from HP, under the folder LicenseServer\utils.
Note: Unlike WCommute.exe and WRCommute.exe, WLAdmin.exe is not copied to your installation directory during installation.

How to restrict concurrent license usage among various groups in an organization?

Ok, this is something advanced and should be used by someone who is in-charge of managing the license server.
You may have several groups in an organization using the same concurrent license server. You want that licenses should be fairly divided amongst those groups and restrict a particular group from consuming all licenses. This can be achieved using a utility called WlsGrmgr.exe, present under the folder LicenseServer\utils. (as mentioned above)

What type of license should be used for virtual machines?

Virtualization software like Citrix, VM Ware may generate a different locking code for each of the sessions, so you can’t use seat license on such machines. You should use commuter license if you’re using virtual machines.

UFT(QTP) license cost

Last we checked, seat license were available for $8000 – $12000, for US region. There can be a lot of variance in license cost depending upon your region, organization etc so it is advisable to get in touch with your HP sales rep. If you’re aware of the cost of QTP license that is used in your org, please mention in the comments section below.

UFT(QTP) license key and license file location

UFT license keys are stored in LSERVRC file. This file can be located under –

  1. C:\Documents and Settings\All Users\Application Data\HP\Functional testing\License for Win XP and
  2. under %programdata%\HP\Functional testing\License\lservrc for Win Vista, Win 7 and Win 8.

LSERVRC file can be opened in a simple editor like notepad. The path to LSERVRC file is added under Windows Environment variables discussed above during installation.LSERVRC file location

You can check our step-by-step instructions to download & install QTP on your machine.

I hope this article would help you with all your questions pertaining to QTP licenses. In case we have left something, please feel free to ask/contribute in the comments section below.

Welcome new readers: Download the Free eBook!

Ankur JainI am Ankur Jain, the owner of LearnQTP and founder of a software organization. This site is run, maintained and updated by me and my team. Feel free to take a look around, you may want to start with What is QTP? 

You can connect with me on my Google+ page. 

Please enter your first name and email address below to instantly download the eBook on Optimizing QTP Scripts. In future, we will make sure you get new tips & tricks on QTP delivered direct to your email box.

Share This:


  1. Akhilesh

    Hi Ankur,

    I consumed 2 licenses for 90 days on VMs not connected to network, by Commuter license.
    Now my VMs are corrupted. Is there some way to release lock of licenses from License server before the time window completes?

  2. Shrinivas

    Hi Ankur,

    I am looking for tentative license costing for UFT considering 1 license i.e.

    Node (Seat) License:
    Float (Concurrent) License:
    Commuter License:
    Remote Commuter License:

    Could you please help to get tentative figures?


    • @Shrini: The cost varies by region. It was around $8k for a seat license some time back. Concurrent license costs more. Commuter and remote commuter license are just the types of concurrent license, they aren’t sold seperately.

      • Shrinivas

        Thanks Ankur!

        That means, can i consider concurrent license cost +40% of seat license cost i.e. about 11K?


      • @Shrinivas: No, I would suggest you to get in touch with HP sales rep of your area.

  3. different types of action in QTP?

    difference between Run time object and Test object?

  4. Naveed


    I am having the issue with QTP and UFT as well. i checked the UDP port as well which looks good port 5093 open bidirectoinal. our scenario is like client is accessing the server which is on the other side of the tunnel (VPN). we did testing as well such as client install the licence server on his collegue system(Same Subnet) and he was successfully able to get the licence but when he try to get the licence on the other side of the tunnel error comes : check connection failed. we can ping the server, tracert and file sharing all works well. any suggestion?


  5. oindrila

    where can I change the environment variable of “180 days” default period of commuter license?

  6. Kiran

    Hi Ankur,

    My Question is reg Commuter Licence:

    I have generated the commuter license for remote machine using locking code. But, by mistake i didn’t saved the commuter license key for couple of remote user.

    I am trying to generate again using same locking code, QTP/UFT license server killing(server is went down). i tried for 2 times, 2 times same issue.

    I need to generate new commuter license with new ;locking code?

    Can you please suggest me, why QTP server is going down? I need to report with HP? or any alternative?


    • Terri

      Run WCommute, enter locking code, click option to extend license and enter 1 for number of days to extend.

  7. Ankita

    Hi Ankur,

    I am trying to do a silent installation of UFT, I want to specify a concurrent license server while installing UFT. In the install guide I could find only LICSVR property for specifying the license server. But when I open the application it is still asking for a concurrent license server to be specified. Can you please help me in suggesting how can I specify a concurrent license server while doing the command line installation.

  8. Payal

    I am using UFT 11.52 concurrent license. However, as a part of a new process, we are planning to use seat license. How do I transfer concurrent license into seat license? Do I need to uninstall concurrent license and then install seat license? What is the process of transferring the license on the same machine?
    Could you please let me know?
    Appreciate your help.

  9. Brian

    Hi Ankur – great source of information
    I have a licensing question for you. If you purchase a per seat license (which is tied to a machine), can this machine be used by more than one person? say in the case that it was shared, and is the answer to this documented by the vendor?

  10. Anonymous

    I work for a large banking company I use a commuter license and the cost is $12-15K

  11. Anonymous

    I work for a large company >12,000 employees. We use commuter licenses and the cost is $12-$15K.

  12. Kamala

    If I purchase 10 concurrent licenses, I understand that the cost includes support for a year. Beyond one year, should I purchase 10 support licenses or with one support license, would I be able to download patches and apply for all 10 licenses.

  13. laurent

    when I start UFT connected through the private network of my society, everything’s OK : UFT starts correctly. When I start UFT at home through VPN client : licence error Unable to connect to a licence server.
    Help ! Please ! I can’t work at home with UFT. The average downloading rate of my ADSL line is 3 Mb/S

  14. Vicki D

    Company just installed UFT Rel 11.53 with patch UFT_00044 on Citrix Server (Win 2008) using a current license; New License Mgr was installed on Win 2003 server; The first time a Citrix user accesses UFT, they get a License Error. If the user clicks to install, they can type in the License Server name, then successfully use UFT. No problem with their 2nd attempt or any other usage.

    This is unacceptable to have first time users type in the License Server Name because of the License Error when connecting to UFT for the first time.

    We have check the LSFORCEHOST system variable and it has the correct License Server name. No problem with users that install UFT on their workstations. Only for Citrix users.

    Help please.

    • Greg


      The licence connection is in the user profile (i know, its not optimal, but its done to prevent unauthorised use of QTP, ie the person should be a member of the QTP users to access it)

      Consider making the settings part of an automated installation, it makes it much easier

  15. Vickky

    Hi Ankur,

    Our company have a win xp machine with QTP seat license, this machine is End of life.

    I do want to retire this to a new one, so can I simply install QTP on new machine use this old seat license and retire existing one.

    Thanks in advance

    • @Vickky: Seat licenses are tied to a machine using locking code. You would need to check with HP to migrate the locking code from one machine to another.

  16. Vera

    Can you please confirm that running QTP as object from batch file does not consume the licence. If yes – do you know if it works the same way in UFT?

  17. Nvedia

    Hello there
    I am using the QTP trial right now for my personal learning which would get over in 3 weeks. Can you please tell me what are my options to use QTP when my trial period is over? I am an individual and cannot afford $800 etc for seat license.
    Does QTP has any development license or any license for training/students?

    • @Nvedia: Either ask your company for the license keys OR ask HP to extend trial OR reinstall OS on your machine.

      • Aamir

        please tell me any other option i can’t reinstall my os becouse some important projecs are there.

      • Aamir

        please tell me any other option i can’t reinstall my os because some important projects are there.

      • vijay

        help me to extend the qtp 11 trail version.

  18. Kelvar

    Hi Ankur,

    nice article but can you describe how to remotely checkin a commuter license? I checked out 2 licenses to machines which are on travel now but they have to be replaced elsewhere and cannot connect to the server.

    Many thanks,

  19. Arivu

    Hai Ankur,
    Hai sir your site is very informative,I have a doub’t in UFT11.5,while recording it’s showing any buttons name like Submit button,cancel button etc…Instead of that its showing like Click 250,65,Like width and height ,,because of that reason i can’t able to work please provide me the solutions for the above..

  20. Radhika

    Hi Ankur,

    This is very informative in a very easy words. Actually I had some technical problem while Launching QTP, just thought if you can help me diagnose the problem and guide me how to resolve it.

    Issue: when trying to install QTP after selecting concurrent Licences and proceeding I see an error message as below

    License Error

    Unable to connect to a License Server.
    Details: –Either the License server host is not found on the network or an invalid host name specified.

    But Launching QC is successful for the below scenarios with the same network:
    *It connects sometimes without any error. Its an intermittent issue
    *It works if we connect to VPN.

    Could you please help me in understanding the issue.

    • Ankur Jain

      @Radhika: Try to use LSFORCEHOST variable as discussed above.

      • Radhika

        Thanks for your reply!

        Yes, the LSFORCEHOST is already set to the License Server name.
        As I said Iam able to launch QTP sometimes that is when the License usage is low but when License usage is high I’m unable to launch.

        Details: *Max Licenses on the Server is 50
        *I’am able to launch QTP when the licese usage is arround 5
        *when the number of License increases to arround 10 though it has not reached the limit (50) I would no longer be able to Launch QTP it shows error that
        Error: “Unable to connect to a License Server.
        Details: –Either the License server host is not found on the network or an invalid host name specified “. In this stage I can Launch QTP using VPN.

        Does the no.of max License usage is different in VPN and Local network?
        What do you think here is the issue?

      • Ankur Jain

        @Radhika: I have heard such problems the other way round ie people often find issues connecting over VPN. Please check the version of the License Server installed using the WLMAdmin tool. It is recommended to install License Server version 8.4, or a later version when one is available, which is provided with the installation pack of UFT 11.50.

  21. Arjun

    Hi Ankur,

    We have procured functional testing licenses for QTP 11. Do you know if it is free to upgrade to UFT 11.5?
    If yes, will it include Service Test license also or only Functional Testing features would be available?


    • Ankur Jain

      @Arjun: I don’t think the upgrade would be free. However I would suggest you to cross check with your account rep.

      • Badhurudeen

        Hi Ankur,

        We have QTP 11 with Seat license. will able to upgrade UFT 11.5 with same license?

  22. Soumen Chakraborty

    Hi Ankur,
    Is there any way to get the HP contract details from the concurrent license that we are using? Will HP provide any support to our queries only on the basis of our concurrent license?

    • Ankur Jain

      @Sumen: I think your HP account rep should help in this case.

      • Soumen Chakraborty

        Actually I have no information about contract details when I took over from my ex-colleague. Now I need to contact HP but do not have the required credentials.

  23. Deepesh

    Hi Ankur, I am a IT support person and I want to know if the QTP11 machines in my company are using seat license or concurrent license. Is there a remote way to scan through all the machines in the company and identify which ones have seat vs concurrent license?

    • Ankur Jain

      @Deepesh: Check the utility above to find out about a concurrent license. As long as a machine is connected to the server it will use a concurrent license. As soon as it is disconnected, it will be give back the license to the pool.

  24. Hari

    Hi Ankur,

    I am trying to install the UFT 11.50 trial version in Windows 2008 R2 server. But I am not able to run it in the trail mode at all . Could you please let me know how we can install trial version of UFT 11.50 in server machines

    Thanks & Regards

    • Subhrajyoti

      Hi Hari,

      Seat licenses are not available for operating systems that have session
      capabilities, for example, Windows servers or Citrix.The seat license includes the 30-day demoperiod, during which you may use all of the available QuickTest features.Since you are using Windows 2008 which is windows server OS.. You will not get trial version for UFT.

  25. Ravi


    Can some one please tell how can i crack the seat license for UFT11.5



    Thanks ankur..
    very useful information ankur…thanks alot.

  27. Veeranki

    Thanks Ankur.

    Eagerly waiting for your post.

    Veeranki Naveen.

  28. Veeranki


    I know below questions may sound funny but my curiosity is pushing me to post the below queries :)

    As per QTP help

    “The identification property set for each test object is created and maintained by QuickTest.”

    As per my understanding to create Identification property set, QTP first map the identification properties to native properties and then copies the corresponding property values into Identification property set.
    Correct me if I am wrong ?

    Also ,want to understand the below statement in detail

    “The native property set for each run-time object is created and maintained by the object creator (for example, Microsoft for Microsoft Internet Explorer objects)”

    Also would like to request if you can write a blog on “Difference between Native & Identification properties and methods in detail”.
    With some real time examples of Native methods.

    4. Can we say Identification propertie’s are the subset of Native properties.

    Abs_x, Abs_y, x , y visible etc are the Identification properties, How QTP generates these property values ?

    Veeranki Naveen.

  29. Veeranki Naveen


    I know this is not a correct thread to post this query but wanted to know why “Drag & Drop” methods are defined for QTP’s WebEdit , WebButton Classes ?
    Any practicle example, If any ?

    Veeranki Naveen.

  30. Viswa

    Hi Ankur,

    Very Nicely Organized


  31. Babu

    Thank you ankur, But what about QTP11.0 license. I think most of the companies r using QTP11.0 still now. For move to UFT will take some time i think. Please share any body how to connect mobile for mobile automation through QTP11.0. Some of the industry senior automaters discussion about UFT may be it will failure.

    • Ankur Jain

      @Babu: Even for QTP 11 and lower versions, licensing aspects remain the same as mentioned above. For mobile testing, HP has collaborated with Perfecto Mobile. Eran from Perfecto Mobile, wrote an article on Mobile testing sometime back.

  32. Phani Krishna

    Thanks ankur. very nice article.

  33. Farida

    Very good article! The types of licenses are well explained.

  34. Anuradha

    very useful information ankur…thanks

  35. Veeranki


    Thank you for the above article. Your contribution is remarkable.

    Ankur it would be a great help if you can write an article on ROI
    In the Automation life cycle , first phase is Decision of Automation (Whether to Go or Not to Go for automating an appication) Which is based on ROI,
    So, How is it calculated in organizations ?
    What are the parameters considered for ROl calculations ?
    Please explain with examples if Possible.


    • Ankur Jain

      Sure Veeranki. I’ll put your suggestion in my To-Do.

  36. Anand

    Very nice article Ankur…was very helpful and useful information…Thanks a lot…

  37. Ashok

    Super article man… Thanx…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>