UFT Unable to Launch FireFox (v24)

Question ID: 106037
1
0

I can see the Firefox browser and select it in the Run and Record settings, but when the error happens, it goes back to IE. The error is ‘unable to launch the browser. the specified browser is not installed’. FF is installed with Custom settings which the only difference I can see is I didn’t install the maint updater so FF wouldn’t auto-upgrade.

Marked as spam
Posted by (Questions: 359, Answers: 26)
Asked on April 28, 2015 2:55 pm
6 views
Answers (1)
1
Private answer

Open Firefox and click on the menu in the upper-left and select Add-ons. In the Add-ons Manager tab that appears, click on Extensions. You should see the ''Unified Functional Testing Extension 11.53'' listed. Make sure it is Enabled.

Set Record/Run settings to ''Record and run test on any open browser.''

Use the SystemUtil.Run method to launch Firefox from your script. This is just a quick example opening Google and doing a search, but you get the idea:

StartURL = ''google.com''
SystemUtil.Run ''firefox.exe'' , StartURL ,,,3
Browser(''Google'').Page(''Google'').WebEdit(''q'').Set ''Valar morghulis''
Browser(''Google'').Page(''Google'').WebEdit(''q'').Submit

Marked as spam
Posted by (Questions: 0, Answers: 707)
Answered on April 28, 2015 2:56 pm
Thanks, that works great! Valar dohaeris.
( at April 28, 2015 2:59 pm)