Friday 13 November 2015

Accessing HP UFT/QTP without office network - commuter license


 If you are useing HP UFT/QuickTest with a concurrent license, but cannot connect your computer to your office network (for example, during a business trip), you can install a commuter license. Commuter licenses are available in companies that have only concurrent licenses (not seat licenses).

For example, suppose you need to travel on business with your laptop computer and you want to use
UFT/QuickTest while you are away. You can check out a UFT/QuickTest license from the concurrent license server to use for the duration of your trip, and then check the license back in upon your return.
Commuter licenses are valid for up to 180 days, according to your requirements.
Tip: If you have a concurrent license and are located far from the concurrent license server, you can also use a commuter license if you encounter network traffic.

Checking out commuter license

This section describes how to check out a Commuter License for QTP.
Before you check out a commuter license, ensure that the computer (for example, a laptop) on which you want to install the commuter license has QuickTest installed, is connected to the network, and has access to a concurrent license server with an available QuickTest license. After you have checked out the license, you can disconnect the computer from the network.
To check out a commuter license:
1. Run the WCommute.exe file located in <QuickTest installation folder>\bin. The WCommute dialog box opens.
2. To see commuter licenses available on all concurrent license servers located within your subnet, click Search Subnet. If you want to specify a particular concurrent license server, or if you want to select a concurrent license server outside of your subnet, click Single Server.
➤ If you click Search Subnet, the WCommute utility searches the subnet for concurrent license servers that support commuter licensing and displays them in the WCommute dialog box. Note that this process may take several minutes.
➤ If you click Single Server, a dialog box opens enabling you to specify the concurrent license server you want to locate. Enter the concurrent license server computer’s host name, IP address, or IPX address and click OK.
The specified concurrent license server is located and displayed in the WCommute dialog box. For each concurrent license server, a list of available commuter licenses is displayed. A red check mark next to a commuter license means that the license is already checked out to your computer. You cannot check out multiple licenses for the same application to the same computer. Click a license to view the license details in the right pane of the dialog box.
3. Select the license that you want to check out.
4. In the Enter number of days until the commuter authorization expires box, specify the maximum number of days to check out the license. The maximum number of days is 180.
5. Click Check Out. The selected license is saved locally on your computer.
6. To use the new checked-out license, open QuickTest and change your license type from concurrent to seat. In the confirmation message that opens after you change the license type, click No to use the commuter license.

Checking in Commuter license:
When you finish using the commuter license, you should check it in from your computer to the concurrent license server from which you checked it out. This makes the license available to other users.
Note: If your license expires, you do not need to check it in. When a license expires, you can no longer use it. The license is automatically returned to the concurrent license server, even if your computer is not connected to the concurrent license server network.
To check in a commuter license:
1. Run the WCommute.exe file located in <QuickTest installation folder>\bin. The WCommute dialog box opens.
2. Locate the concurrent license server for the commuter license you want to check in, as described in step 2 of “Checking Out a Commuter License” You must check in the license to the same concurrent license server from which you checked it out.
3. Select the license you previously checked out. Tip: The checked-out license is indicated by a red check mark.
4. Click Check In. The license is returned to the concurrent license server, and is made available for use by others.
Note: Before you can use QuickTest again, you must change your license type from seat to concurrent.

Obtaining Commuter License remotely:
A local network user can locally check out a QuickTest commuter license and send it to you for installation on a remote computer. This is useful in situations in which you are currently not connected to the concurrent license server network. For example, you may be out of the office on an extended business trip, but need to be able to use QuickTest.
To obtain a commuter license remotely:
1. Run the WRCommute utility to generate a commuter locking code for your computer and send the
commuter locking code to a local user who has access to the concurrent license server. For more
information, see "Step 1: Generating a Remote Computer Locking Code"
2. Ask the local user to run the WCommute utility (entering the commuter locking code you generated) to check out a remote commuter license, and send it to you.
3. Run the WRCommute utility to install the remote commuter license on your computer.
4. Open QuickTest and change your license type from concurrent to seat. In the confirmation message that opens after you change the license type, click No to use the commuter license.
Step 1: Generating a Remote Computer Locking Code
The first step in remotely obtaining a commuter license is to generate a locking code on your computer using the WRCommute utility, and transfer it (by e-mail) to a network user who has access to the concurrent license server.
Note: The remote computer locking code used to lock a commuter license is not the same as the locking code displayed by the ECHOID utility. You must use the WRCommute utility to obtain the commuter license locking code.
To generate a locking code on a remote computer:
1. Run the WRCommute.exe file located in <QuickTest installation folder>\bin. The WRCommute dialog box opens.The Locking code string for the current machine box contains the locking code that you need to e-mail to a network user who has access to the concurrent license server containing the QuickTest licenses.
2. Send the locking code to the local network user in one of the following ways:
➤ Select the locking code string and click the Copy to clipboard button to copy the string to your Windows clipboard. Then open your e-mail program and paste the string into a new e-mail message and e-mail it to the local network user.
➤ Click the Save lock code string to file button to save the locking code in a file. Specify the name and location for the file, and then attach the file to a new e-mail message and e-mail it to the local network user.
➤ Click the Display locking code string button to display the entire locking code in another dialog box. You can then select the locking code string, right-click it and select Copy to copy it to your Windows clipboard. Then open your e-mail program and paste the string into a new e-mail message and e-mail it to the local network user.
➤ In the E-mail address box, enter the e-mail address of the local network user and click Send.
Note that this option is supported only if Microsoft Outlook Express is set up as your e-mail client.

No comments:

Post a Comment