Forum Discussion

scott_1's avatar
scott_1
Occasional Contributor
13 years ago

Firefox web app test - Simple test fails to goto URL

Afternoon All,

So, trying to do a very simple test in Firefox, to open and go to a URL.



Recorded the test, all looked fine



In TestComplete I click on Run Test to see what it does. It fails after Firefox opens, and it logs the following error:



URL: about:blank

Process ID: 2324

Process Command Line: "C:\Program Files\Mozilla Firefox\firefox.exe"

Info: Cannot find the Page node after calling the NavigateTo method.



Aliases.firefox

(Sys.Process("firefox"))



In the playback of the test, Firefox opens to the screen, but I do not see a click into the address bar, or the actual web URL be typed.



I haven't done the additional browser settings for FF as discussed in the helpfile, but I would think that my simple recorded test would at least get the URL that was typed in during recording.



Ideas?

13 Replies

  • Hi Carles,




    Judging by this page, Firefox 30 is supported only in TestComplete 10.30.


    So, you need to either update to this product version or downgrade the browser to the version supported by TestComplete 9.10.


     

  • Thanks. Going back to Firefox 17 allowed me to record TestComplete tests. 



    When I asked the question I completely forgot to check the Firefox version supported by TestComplete 9.10.... my apologies.
  • I am facing the very same problem. All the test cases (Both scripts and Keyword Tests) are not getting executed only on FIREFOX. The work very well on Chrome though. TestComplete's testcase execution log do not show any error message. All the steps seem to be executed perfectly (Colored in green)



    I am having Firefox version 32.0.2. 

    My TestComplete version is 10.30.1145.7



    I have the following DLL files in the 'extensions' folder: (C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\Extensions)





    tcFF3Hook.dll

    tcFF24Hook.dll

    tcFF25Hook.dll

    tcFF26Hook.dll

    tcFF27Hook.dll

    tcFF28Hook.dll

    tcFF29Hook.dll

    tcFF31Hook.dll

    tcFF32Hook.dll



    I have done all other Firefox settings mentioned here: Preparing Firefox For Web Testing



    Still I cannot execute a very simple test case. Firefox gets launched but the URL never gets navigated.



    I tried the following scripts:




    Script Set 1:

    function MyApp()


    {


      //Start a blank FIREFOX page:


      Browsers.Item(btFirefox).Run();


      


      //Access MyApp URL:


     Browsers.CurrentBrowser.Navigate("http://myapp/Login.aspx");


    }



    Script Set 2:


    function MyApp()


    {


      //Start a blank FIREFOX page:


      Browsers.Item(btFirefox).Run();


      


      //Access MyApp URL:


     Browsers.Item(btFirefox).Navigate("http://myapp/Login.aspx");


    }