Forum Discussion

raphaelrossi's avatar
raphaelrossi
Occasional Contributor
14 years ago

Problem to recognize flex objects in recorder mode (only)


Hi





I can see flex objects in Object Browser before writing scripts.

But when I write the first script TestComplete stops recognize the objects.





FlashInjector method;

TestComplete Version 8.70.727.7 (Enterprise);

IE 7.0.5730.13;





Any idea?

5 Replies

  • Hi Raphael,



    According to the new information you gave us in this thread, most probably, my advice from the Using FlexInjector with IE9 and TC8.7 thread won't help. So, I tried to access the http://jau.dom-cinq.com.br:7010/sng site (it is displayed on the before.jpg image) to try to reproduce the issue, but failed. Is it publicly available? Can you give us access to it? Please note that if you want to get personalized assistance, you can submit a separate support case using our Contact Support form.
  • raphaelrossi's avatar
    raphaelrossi
    Occasional Contributor
    Hi Mike,



    I think the problem is not in my application. This same problem occurs in the example "http://www.automatedqa.com/examples/testcomplete/flex/"



    A few months ago I managed to write scripts using the trial version and another computer with the same configuration.

    I need a solution because it will make a presentation to the pmo's of the company next week.


  • raphaelrossi's avatar
    raphaelrossi
    Occasional Contributor
    Hi Mike,



    I used another computer and it worked.

    But I need to know how I can fix my computer to work here too.  
  • raphaelrossi's avatar
    raphaelrossi
    Occasional Contributor
    Hi Mike,



    I used another computer and it worked.

    But I need to know how I can fix my computer to work here too.  
  • Hi Raphael,



    Thanks for the update! Obviously, the problem is computer-related, so we'll need to localize it:



    1. Do you use another version of Internet Explorer on the problematic machine as compared with the other machine?



    2. Do you have exactly the same versions of Flash Player on both machines? If the version installed on the problematic PC is not the latest one, please uninstall it and install the latest one that can be obtained from here.



    3. Is Internet Explorer configured differently as compared with the other machine? You can check this by comparing the settings shown in the Internet Options dialog. If the settings are different, please describe the difference.



    4. If the previous suggestions don't help, please check whether the mechanism used by TestComplete works correctly in your setup:



    - Close all web browsers.



    - Add the following four lines to the mm.cfg file:



    AS3Trace=1

    ErrorReportingEnable=1

    TraceOutputFileEnable=1

    TraceOutputBuffered=1



    - Start IE and open the web page with your tested Flex application. After the page is shown, close IE.



    - After this, you should see the following file created on the disk:

    c:\Users\YOUR_USER_NAME\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt



    If the file is not there, let me know it. If it's there, proceed with the next step.



    - Open the file in a text editor and search for the following text:

    FlexClient::Agent



    If you can't find this text, this means that Flash Player does not load FlashInjector.swf as it should. Let me know if this is the case.



    - If you can find the text, but TestComplete does not recognize the application as a Flex app, please zip the "flashlog.txt" file (it may be quite large in the unpacked state) and send it to me.