Suddently QTP doesn't recognize Firefox as a browser object
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("Application Version")),5)".
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 Information 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: 22.214.171.12484 Add-in Information: Name .NET ActiveX Java Silverlight Visual Basic Web WPF Hotfix and Patch Information: Name 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