12-27-2012 05:34 AM
QTP 11.0 running on Windows 7 with up-to-date service packs
My scripts run a set of tests in three browsers, Firefox, Chrome, and IE. They have been running fine. No problem. The tests all call a script to start the browser.
Today I used QC to run two tests, one after the other. Both tests run three times, once in each browser.
The first test ran fine. The second one failed. The script that starts the browsers is suddenly failing on Firefox. The first failure came literally minutes after the script ran fine. Nothing has changed on the test machine.
Here is the message I get -- the old familiar one:
Cannot identify the object "BrowserTO" (of class Browser). Verify that this object's properties match an object currently displayed in your application.
Line (31): "currBrowser = Left((Browser("BrowserTO").GetROProperty("Applicat
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
When I Open the registry and use the "Highlight in Application" tool, the "BrowserTo" object is not found when Firefox is running. But it works just fine for Chrome and IE.
Object Spy identifies the Firefox window only as "Window: Mozilla Firefox. But for the other browsers, it correctly identifies them as "Browser: Browser"
Here is what I have done to try to resolve the problem:
1. Rebooted the test machine - didn't help
2. Uninstalled Firefox and immediately reinstalled it. - didn't help
3. Reinstalled QTPWEB_00112 - didn't help
Here is the total Product Information dump -- but I only have ActiveX, VB and Web turned on.
Product name: QuickTest Professional
Product version: 11.00
Product ID: QTPRPID11.00/01
Product build: 1018
Operating system: Microsoft Windows 7 Service Pack 1 (Build 7601)
Internet Explorer version: 9.0.8112.16421
ALM/QC connectivity: 184.108.40.20684
Hotfix and Patch Information:
QTP_00699 for HP QuickTest Professional 11.00 QFE
QTP_00709 for HP QuickTest Professional 11.00 QFE
QTPWEB_00078 for HP QuickTest Professional 11.00 QFE
QTPWEB_00086 for HP QuickTest Professional 11.00 QFE
QTPWEB_00090 for HP QuickTest Professional 11.00
QTPWEB_00102 for HP QuickTest Professional 11.00
QTP_00919 for HP QuickTest Professional 11.00
QTP_00925 for HP QuickTest Professional 11.00
QTPWEB_00112 for HP QuickTest Professional 11.00
12-28-2012 06:56 AM
Problem is/was that my FF installation was hit with an update. The new version was 17.0.1 and the QTP add-on reported that it was incompatible and it was disabled.
Uninstalled FF. Dug around and found the site for downloading older versions. Tried 17.0.0. It failed. Tried 18.0. It failed. Tried 16.0.xxx and it is running with QTP.
12-28-2012 10:49 AM
12-28-2012 10:57 AM
Yes. That patch is there and always has been. Everything worked fine until the Friday afternoon that Firefox got upgraded from 17.0.0 to 17.0.1.
12-28-2012 11:20 AM
And this just in...
The HP Patch releasesed earlier this month, QTPQEB_00122, fixes the problem with Firefox 17.0.1 -- AND appears (so far) to work with Firefox 18.0, although I doubt that use is supported by HP.
06-03-2013 07:32 AM
We have a requirement to execute QTP scripts on higher version of firefox (22.0).
Is QTP 10.0 supports firefox 22.0 or higher version of 18.0.
Could you let me know if any work around solution on this.
06-04-2013 04:08 AM - edited 06-11-2013 08:53 AM