Forum Discussion

sv_sarma's avatar
sv_sarma
Occasional Contributor
10 years ago

Firefox process issue differences in Object Browser

Hi,



When we are opening the Firefox browser using TestComplete 10, the object browser lists it under Sys.Browser, where as if we are trying to run the tests from TestExecute 10, the test fails. When we looked at the Object Browser (keeping previous instance of firefox opened), it shows under Sys.Process.



Following is the environment,




Browser: Firefox 30 (32-bit)


 


OS: windows 7 - 64 bit


 


Environment: Running on a Virtual Image



Can anyone suggest on how we can address this issue?



Thanks,

Sarma Kasibhatla

3 Replies

  • Hi Sarma,



    I recommend to kill your firefox browser instance and run your application.  Ideally browser should open another instance even though it has opened already. Since your browser is alrady opened check this process should run under object browser "Sys.Process("firefox") " . Kill this process with the following steps.

    1. Right click on the process

    2. Click on the Terminate process ( firefox will  be killed)



    Then re run your test.

  • sv_sarma's avatar
    sv_sarma
    Occasional Contributor
    Hi Pradeep,

    Thanks for your reply. But we are not keeping the browser open before running the tests. We "are" making sure that no instance of browser exists.



    The problem here is, TestComplete shows it as Sys.Browser and TestExecute recognizing this as Sys.Process



    Thanks,

    Sarma Kasibhatla
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Sarma,

     


    Please make sure that the following requirements for cross-browser testing are met on your machine:


    The cross-browser functionality works only if the Web tree model property of your TestComplete project is set to Tree. Other web tree models may assign different names under different browsers, and thus the recorded test could be browser-dependent. See Understanding Web Object Identification and Object Models.


     


    Cross-browser features do not work when your project’s Use legacy web testing features option is enabled. This option serves for backward compatibility and reverts web testing features and object models to those applied in earlier versions of TestComplete.




     


    Refer to the "Cross-Browser Testing - Overview" article for additional information.