As the name suggests, this article focuses on the common problems faced during or after QTP/UFT installation. We shall also have a separate article dedicated to common problems owing to JAVA and QTP/UFT installation on the same machine and thereby arising conflicts or rather configuration issues.
Normally, QTP gets installed without creating any problem. However, there are certain errors that are commonly experienced by people. Some of these are listed below.
Common Problems with QTP/UFT Installation
- Nothing happens after the initial installation screen / Application does not open after installation
- The Application does not launch after an upgrade
- .dll missing
- Requires a license
- QTP behaves unexpectedly
- .Net 4.0 does not work
- Windows Remote shell service error
If you experience this kind of error/s while installing software, try the below options.
- Anti-Virus issues: if the installation does not move further, the anti-virus product might be causing the issue. This is commonly seen with McAfee Anti-Virus. To resolve this issue, disable the anti-virus and install QTP.
- English usernames: QTP software requires that OS usernames are in English. Even though you log in as an administrator, your username can only contain English letters. Else, the installation will not complete successfully. If it does, it will not work properly.
- Installation Path: Along with usernames, the location name where QTP is installed needs to be in English letters. Even the path of installation files requires English letters as well.
Another common error encountered while upgrading to QTP 11 from QTP 9.5 or QTP 10, the upgrade is successfully done. However, when you open the application, it does not open or behaves unexpectedly. This is commonly seen with systems that use local versions of the HP software. To resolve this issue, go to :
- Control Panel – > Add/Remove programs
- Choose HP QTP
- Click on Change and choose Repair
- Follow the instructions to resolve the issue.
Another common error encountered during the QTP installation procedure is wwwpackage.dll error. Try these options:
- Check if you are logged in Administrator account
- Disable the antivirus program
- Check if the installer package is corrupt
- Check if the system requirements are met
If everything is fine, you can register the dll manually.Go to CMD and run this command regsvr32 “<QTP install dir>\bin\WWWPackage.dll
There are licensing issues as well. If you have downloaded a 30-day trial version, you have to upgrade the program from HP. Another issue is the RMS License Manager. QTP support version 8.3.0 or above. Other versions are not supported.
If the application behaves unexpectedly, there is one known issue. When you upgrade to QTP 11 on a system that has a Quick test 10.00 patch, it does not work well. To resolve this issue:
- Go to Start – > Control Panel
- Click on Updates
- Choose HP and see if QTPNET_00015 is in the list
- Uninstall this patch and then install QTP 11
If you want to use .NET 4.0, you have to first install it before installing QTP. However, if you install QTP first and then install the .NET program, you have to manually register dll files, QTP agent and QTPwpfagent.
​
rshsvs or Windows Remote Shell Service gives an error message. This error is seen on XP systems. You can either upgrade to windows 7. Alternately, you can configure the service to start manually.