Pages

Friday, May 31, 2013

Quick Test Professional (QTP) - QTP Licensing model

QTP licensing allows 2 different types of licenses
  1. Seat license
  2. Floating license

1. Seat License

Seat Licence is a node locked or machine-based license. This license can be used only for a machine it was generated for, as the locking code QTP generates is specific to the machine it is installed on. To apply for a seat license, select the "Seat License" radio button as shown in the fig and click Next. After clicking next the license wizard will show the locking code of the machine as shown in the fig 2. Note down the locking code and put a license request on https://webware.hp.com/welcome.asp. Once you receive the license launch the wizard again and click Next button on the Locking code screen and paste the license key received by HP. This will install the seat license.



Note: Seat license uses some of the system components to generate locking code. Changes in these components can change the locking code invalidate the installed license. Similarly, the locking code becomes obsolete if for any reason it becomes necessary to uninstall the system OD and re-install it. It would be required to install QTP after a fresh OS install, which will generate a new locking code rendering the previously generated Seat license useless.



2. Floating License

Floating license can be used on any machine which has a network access to the floating license server. At any point in time the machines using the QTP licenses cannot exceed the maximum license count on the server. The license server is a utility that needs to be installed separately and comes with the QTP installation. The license server can be installed on Windows 200/2003/XP. Floating licenses are per session license i.e. they are only used when QTP is open on a machine.

To apply for a floating licenses choose the "Concurrent License" radio button on wizard screen Fig 3. Click on the next button and enter the Server IP or name in the server. Click on the Check Connection button and if successful the wizard will show the licenses available on the server as Fig 4. Click on the Next button and save the floating license.




Note: QTP uses UDP port 5093 for communicating with the license server. This port needs to be unblocked in case of any firewalls.

Note: We can also create system environment variables with name LSHOST or LSFORCEHOST to specify the QTP License server IP or address.


QTP License Server - Change IP Address

QTP License Server - Change IP Address
If you are planning to change the QTP license Server IP address, perform following changes in the client machines. Attaching the screen shot for more clarity.
Make sure you are able to ping the IP from the client machine and QTP concurrent license server configured correctly.