Forum Discussion

stabrizi's avatar
stabrizi
Occasional Contributor
12 years ago

TestComplete can not detect Flex objects using FireFox ver 17.0.1

Hello, I am having difficult time detecting Flex objects using Firefox version 17.0.1

I believe I followed all the setup and preprations, but not having any luck with the Firefox.

We are allowed to use only IE 8, and FireFox 17.0.1 for this purpose.  I have no issues testing against IE8.



Here is my setup information:

Using Flex Injector method: for Firefox as stated in : http://support.smartbear.com/viewarticle/35770/

 

OS: Win7 32 bit, TestComplete Ver. 9

 

Everything works fine using IE8, but I can not get the TestComplete recognize the Flex objects in Firefox.  I searched and reviewed several forum post, but could not find a working solution.

 

Did I miss anything in above setup? Any help greatly appreciated.

 

Thanks,

Sen
  • If you can change the code of web page then try using windowless mode for Flex by adding parameter wmode=opaque for object, that displays Flex app.

    What is for dom.ipc.plugins Firefox settings - it is ignored starting from version 14. To emulate its behaviour you should create one environment variable MOZ_DISABLE_OOP_PLUGINS = 1
  • If you can change the code of web page then try using windowless mode for Flex by adding parameter wmode=opaque for object, that displays Flex app.

    What is for dom.ipc.plugins Firefox settings - it is ignored starting from version 14. To emulate its behaviour you should create one environment variable MOZ_DISABLE_OOP_PLUGINS = 1

  • Window mode is set in the HTML like this:
    <object type="application/x-shockwave-flash" data="app.swf">
    <param name="wmode" value="opaque" />
    ...
    </object>

    As for Firefox IPC settings you can watch this video: http://www.youtube.com/watch?v=AaGLe2xMYwg

  • stabrizi's avatar
    stabrizi
    Occasional Contributor
    Thank you Hanya for your reply. &nbsp;However, I am not clear how to follow your instructions. &nbsp;Could you please procedurally explain your solutions, because that may better help me and people who are having similar issues.



    1. In my case, I do not have the liberty of changing the code. &nbsp;I have to use Flash Injection method, because server reside in environment that I have no access to its root or Code. &nbsp;My only access is via HTTPS. &nbsp;However your solution might work for folks who have access to their code. &nbsp;But not in my case.


    2. On your second bullet, are you referring to About:Config setting of FireFox? if yes, I already followed the procedures as described in following link:http://support.smartbear.com/viewarticle/37361/#FF  , are you recommending I do something else? There are 7 dom.ipc.plugins (3 integer, and 4 Boolean), I changed the dom.ipc.plugins.enabled to false.


    I also found several FireFox patches at following link, which I just applied, but it did not help:

    http://support.smartbear.com/downloads/testcomplete/firefox-patches/



    Any ideas how to expose FlexObject in FF 17 or 19 using TestComplete? Has anyone been able to successfully do this task? if yes, could you please chime in on your setup/procedures?



    Thank you all,

    -Sean

  • stabrizi's avatar
    stabrizi
    Occasional Contributor
    Well done Hanya.. !!! it worked. I am back in business.

     Thank you :D

    -Sean