Forum Discussion

sraj4u's avatar
sraj4u
Occasional Contributor
16 years ago

WaitPage method is not working with firefox

Hi !



One of my test script is getting failed, when I debug , I found that WaitPage method with firefox process is not returning the page object.



Below are the steps to recreate the problem :



1.Open FireFox

2.Enter URL as http://www.google.co.in/

3.In test complete write a routine like



Sub TestSubWaitPage

Set objBrowser = Sys.WaitProcess("firefox", 20000)

Set objPage = objBrowser.WaitPage("http://www.google.co.in/", 20000)

    if objpage.Exists  Then

        msgbox "Page Object created"

    Else

        msgbox "Page Object not created"

    end if

End Sub




4.Run the above routine



Getting message as "Page Object not created" , During debugging in the objPage , I am getting object as attached.



Note:

-I am using TestComplete version 7.52.678.7

-I am Mozilla Firefox version version 3.6.12

-With iexplore everything is working fine.



Please help ...



Thanks in advance

2 Replies

  • Hi,



    TC 7 doesn't support Firefox 3.6. It is supported in TC 8.0.
  • sraj4u's avatar
    sraj4u
    Occasional Contributor
    Hi Jared!



    Thanks for the information ...



    Thanks