Micro Focus QTP (UFT) Forums

Full Version: QTP hangs while Running
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am new to using QTP, facing problem while running the QTP. The QTP is doing the recording but while try to run,it hangs indefinitely. It doesn't run for a very simple web (or) window application itself, the status bar shows "Running" and doesn't stop too. I have to stop the application using windows task manager.

I am using QTP 9.5 in IE7 - Vista home Premium.

Can anybody help to resolve this issue.
At what point on the web appln does it hang ?
Can you try recording on Google.com and playback ?
Are you using tabbed browsing and opening the link on multiple tabbed browsers?
Hi Basanth,

Thanks for your reply. The QTP hangs after launching the webpage.

As you said,I have recorded with google.com, typed "qtp" as keyword and clicked the search button, and after opening the search results page , closed the web application.

In that case, while I try to run the script,the QTP just opens the google page and hangs there itself. It doesn't enter "qtp" as keyword.

No. I am not using tabbed browsing.I have disable tabbed browsing.

Thanks,
Padma
Padma -
Can you check the system process when the hang happens ?
What takes up more RAM ? QTP or IE ?
Hi Padma,

Can you also check -
User Acess Control is turned off
and BHO Manager is Enabled.
Hi Padma,

Fyi, With regard to your problem Ankur had already posted a useful article on
"Does QTP support MS Vista?" ( http://mercuryquicktestprofessional.blog...pport.html )

Please find the below for more info.

Working with Windows Vista:

* The security settings in Microsoft Windows Vista may prevent you from performing a QuickTest Professional-related installation, such as a patch installation, or connecting to a Quality Center project (either directly or from QuickTest Professional). This can occur when the User Account Control (UAC) option in Windows Vista is set to ON, and you have not yet connected to a Quality Center project (if relevant).

Workaround: To work with Quality Center, temporarily turn off the User Account Control (UAC) option, as follows:
1. Log in to Windows Vista as an administrator.
2. From the Control Panel, choose User Accounts > Change Security Settings.
3. Clear the Use User Account Control (UAC) to help protect your computer check box and click OK.
4. Connect to Quality Center as usual. After connecting to Quality Center, you can turn the User Account Control (UAC) option on again. Hereafter, you should be able to connect to Quality Center, as needed.

* Due to a problem opening DCOM permissions on Windows Vista, QuickTest does not run properly on a remote Windows Vista host from Quality Center.
Workaround: Run RmtAgentFix.exe from the \bin folder.

* On Windows Vista, QuickTest Professional seat licenses may not work correctly if you are not logged on as an administrator. (Note that concurrent licenses work as usual.)
Workaround: On Windows Vista, install QuickTest Professional and any QuickTest add-ins as an administrator. To do this, right-click setup.exe from the root folder of the QuickTest Professional installation CD and choose Run as administrator.

Hope it would solve your issue. Smile
Hi,
Thanks to you all for the suggestions ... I will try the above methods and check whether the QTP runs.

Thanks,
Padma
Hi all,

I have done all these setting as mentioned above.but No Luck.
I am facing the same problem with QTP9.2,in window vista...
Getting hang and closing it from Task manger.

I have recorded with google.com, typed "easy to automate" as keyword and clicked the search button, and after opening the search results page , closed the web application after going to some of the searched site...

In that case, while I try to run the script,the QTP just opens the google page and hangs there itself.

I am a new user to QTP.

please give some suggestion to solve this issue...
I am facing the same problem with QTP 10.0, Windows xp, IE8 during run batch of scripts.
At this time, QTP hangs in scripts A, and it may happen in script B at other time.

pls help me!