Earlier this week something happened in my test bed and QTP suddenly stopped recording anything on the web and won't even activate the browser.
Here details on my test bed:
OS: WinXP Pro SP1 (originally SP2, but I uninstalled)
QTP: v8.2 (no special add-ins; ActiveX and Web only)
I've contacted Mercury and they are even having a hard time solving this. It's under investigation, but I have no idea when they'll get back with me.
Here's some of the things I've tried. When the problem originally surfaced I was using WinXP SP2 and QTP v8. Tech support told me to upgrade to v8.2 and that would fix the problem. It didn't! I uninstalled SP2 and then unintalled/re-installed QTP 8.2, and still the problem is present. I can record on a Windows application (tried excel) without any problem - but nothing on the Web. Even tried Yahoo.com.
Any suggestions? Has anyone experienced this before? Tech support said that people have experienced it...Please Help!
Try this.... I've experienced this before on 6.5. Check your XP firewall settings as SP2 enables this by default and can cause untold numbers of problems. Failing that.......
Use regsvr32 to register/unregister a DLL or OCX file:
To unregister a DLL or OCX file:
1. Go to Start -> Run.
2. Type: "regsvr32.exe /u <path to file>.<dll/ocx>."
regsvr32.exe /u C:\temp\mylibrary.dll
regsvr32.exe /u C:\temp\mycontrol.ocx
To fill in the full path quickly, you can drag the file from Windows Explorer to the Run dialog.
1. Go to Start -> Run and type "regsvr32 /u "
2. Open Windows Explorer and find the file.
3. Drag the file from the Windows Explorer window into the Run dialog window. This will enter the full path to the DLL or OCX file.
4. Click <OK>.
To register several DLL and OCX files at once, do the following:
1. Shut down Astra QuickTest/QuickTest Professional (AQT/QTP).
2. On the machine, with administration rights, preferably local admin, invoke the DOS window.
3. Change to the install drive letter (eg c
4. Change directory (cd) to the <AQT/QTP installation>\bin directory (eg. cd program files\mercury interactive\Astra QuickTest\bin)
5. Run the following line to register all the DLLs in the directory:
for %i in (*.dll) do regsvr32 /s %i
6. Run the following line to register all the OCXs in the directory:
for %i in (*.ocx) do regsvr32 /s %i
7. Restart AQT/QTP.
Miregsvr.bat file :
Run this file from the path C:\Program Files\Mercury Interactive\QuickTest Professional\bin\ Miregsvr.bat .
Also check your web addin is selected. If all eslse fails then try re-installing QTP.
I am testing web based application and I think there is no need to use the ActiveX add-ins so just try to record using the Web add-ins only plus check the WebList event configuration and add what you feel is necessary
also remember to start the QTP before the Website you want to test .... just a friendly reminder [img]images/icons/smile.gif[/img]
hope this will help
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".