Forum Discussion

i404's avatar
i404
Contributor
13 years ago

Firefox 11 support

Hi All,



I have a running script that works in FF 8 but I does not like FF11 now.

Here's my Launch_Firefox:



URL="www.google.com"



Sub Launch_Firefox(URL)

  Call Log.AppendFolder("Launching FireFox")

  Call TestedApps.firefox.Run()

  firefox_load = false

  While Not(firefox_load)

    Call Sys.Refresh

    firefox_load = Sys.Process("firefox").WaitWindow("MozillaUIWindowClass", "*", 1, 1000).Exists OR Sys.Process("firefox").WaitWindow("MozillaWindowClass", "*", 1, 1000).Exists

  Wend

  Set firefox = Aliases.firefox

  Call Log.PopLogFolder()

  If (Not firefox.WaitPage("*", 20000).Exists) Then

    Call Sys.Keys("[Esc]")

  End If

  Call firefox.WaitPage("*", 1000).ToURL(URL)  ---------------> Failed here and it said object not found!

  Set page = Aliases.firefox

End Sub



Any thought?



Cheers,

Ian

2 Replies

  • i404's avatar
    i404
    Contributor
    Just looked at the Object Browser and it seems like it does not support FF11 yet.
  • Hi Ian,



    To make TestComplete support Firefox 11, you need to download and install a special patch. You can find the patch here.